Browse Source

fix:回复

Tang 3 năm trước cách đây
mục cha
commit
2650cec1fa
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      src/pages/course-detail/index.vue

+ 8 - 1
src/pages/course-detail/index.vue

@@ -1315,6 +1315,14 @@
                                       false
                                     )
                                   }}
+
+                                  <div
+                                    class="del"
+                                    v-if="item.userId !== userInfo.userId"
+                                    @click="answerBack(item)"
+                                  >
+                                  <el-button type="text">回复</el-button>
+                                  </div>
                                   <div
                                     class="del"
                                     @click="del(item)"
@@ -5595,7 +5603,6 @@ export default {
               }
             });
           });
-          console.log(copydata2);
           copydata2.forEach((it) => {
             for (let i = 0; i < data1.length; i++) {
               const STATUS = data1[i].newArraysAnswerList.some((items) => {