Quellcode durchsuchen

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

DESKTOP-O04BTUJ\muzen vor 3 Jahren
Ursprung
Commit
4fa8114daf
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      src/views/channel/custom/detail.vue

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

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