浏览代码

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

DESKTOP-O04BTUJ\muzen 3 年之前
父节点
当前提交
4fa8114daf
共有 1 个文件被更改,包括 2 次插入0 次删除
  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) {