Browse Source

频道管理 定制频道 修复多选bug

DESKTOP-O04BTUJ\muzen 3 năm trước cách đây
mục cha
commit
4fa8114daf
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/views/channel/custom/detail.vue

+ 2 - 0
src/views/channel/custom/detail.vue

@@ -186,6 +186,7 @@ export default {
     // 打开弹窗
     getDialog() {
       this.dialogVisible = true
+      this.ids = []
       this.getPage()
     },
 
@@ -234,6 +235,7 @@ export default {
     },
     // 表格多选
     getChange(row) {
+      this.ids = []
       if (row.length > 0) {
         row.map(i => {
           if (this.ids.findIndex(j => j === i.id) === -1) {