GDPAO
This commit is contained in:
@@ -531,9 +531,11 @@ export default {
|
||||
this.comment_num = res.data.num;
|
||||
// console.log(this.comment_num);
|
||||
this.is_edit = false;
|
||||
if (res.data.data.pid) {
|
||||
console.log(res.data.data.reply_id);
|
||||
if (res.data.data.reply_id) {
|
||||
this.commentList[this.comment_id].reply_count = true;
|
||||
this.allList[this.comment_id].unshift(res.data.data);
|
||||
console.log(this.allList,111);
|
||||
} else {
|
||||
this.commentList.unshift(res.data.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user