@@ -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) {