diff --git a/components/XJ-comment/index.vue b/components/XJ-comment/index.vue
index 17362bf..c0b1424 100644
--- a/components/XJ-comment/index.vue
+++ b/components/XJ-comment/index.vue
@@ -27,6 +27,7 @@
+
发一条新评论
@@ -143,6 +144,9 @@
// this.isLoading = false;
// }, 1000);
},
+ openComment() {//点击发布新评论按钮
+ this.$refs.cPopupRef.open();
+ },
treeTransForm(data) {
let newData = JSON.parse(JSON.stringify(data));
let result = [];
@@ -222,10 +226,10 @@
params.user_name=this.tableData.user_name;
} else {
params.id = this.tableData.id;
- params.parent_id = item.item1?.parent_id ?? item.item1.id;
- params.reply_id = item.item1.id;
+ params.parent_id = this.tableData.parent_id;
+ params.reply_id = this.tableData.reply_id;
params.user_name=this.tableData.user_name;
- params.reply_name = item.item2 ? item.item2.user_name : item.item1.user_name;
+ params.reply_name = this.tableData.user_name
}
params = {
@@ -368,6 +372,19 @@
\ No newline at end of file
diff --git a/pages/videoCircle/index.vue b/pages/videoCircle/index.vue
index d66cecd..2bfc4ea 100644
--- a/pages/videoCircle/index.vue
+++ b/pages/videoCircle/index.vue
@@ -99,7 +99,7 @@