lph 1 gadu atpakaļ
vecāks
revīzija
335ec055a1
1 mainītis faili ar 9 papildinājumiem un 8 dzēšanām
  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);
+          //     });
+          //   });
+          // }
         }
       );
     },