Przeglądaj źródła

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

DESKTOP-O04BTUJ\muzen 3 lat temu
rodzic
commit
4fa8114daf
1 zmienionych plików z 2 dodań i 0 usunięć
  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) {