浏览代码

补充提交

lph 1 年之前
父节点
当前提交
335ec055a1
共有 1 个文件被更改,包括 9 次插入8 次删除
  1. 9 8
      zkqy-ui/src/views/system/tenant/dict/index.vue

+ 9 - 8
zkqy-ui/src/views/system/tenant/dict/index.vue

@@ -348,16 +348,17 @@ export default {
           response.rows = response.rows.filter(
             (item) => !tempSelection.find((val) => val.dictId == item.dictId)
           );
-          this.typeList = [...tempSelection, ...response.rows];
+          // this.typeList = [...tempSelection, ...response.rows];
+          this.typeList = response.rows;
           this.total = response.total;
           this.loading = false;
-          if (tempSelection.length) {
-            this.$nextTick(() => {
-              tempSelection.forEach((item) => {
-                this.$refs.tableRef.toggleRowSelection(item);
-              });
-            });
-          }
+          // if (tempSelection.length) {
+          //   this.$nextTick(() => {
+          //     tempSelection.forEach((item) => {
+          //       this.$refs.tableRef.toggleRowSelection(item);
+          //     });
+          //   });
+          // }
         }
       );
     },