ck@123911.net 1 месяц назад
Родитель
Сommit
0f13986d4e
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      components/cc-comment/cc-comment.vue

+ 2 - 1
components/cc-comment/cc-comment.vue

@@ -355,10 +355,11 @@ export default {
 				params
 			}, (res) => {
 				uni.hideLoading();
+				// console.log("cc-comment",res);
 				// 拿到后端返回的id赋值, 因为删除要用到id
 				params = {
 					...params,
-					id: res.id
+					id: res.comment.id
 				};
 				// 新评论
 				if (this.isNewComment) {