chenrui  преди 3 години
родител
ревизия
610e9390db
променени са 2 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. 4 4
      src/views/systemManagement/EditSystem/index.vue
  2. 4 4
      src/views/systemManagement/addSystem/index.vue

+ 4 - 4
src/views/systemManagement/EditSystem/index.vue

@@ -449,10 +449,10 @@ export default {
       this.FormData.Unuselist = this.FormData.Unuselist.sort(
         this.compare("indexname")
       );
-      this.FormData.Unuselists.push(val);
-      this.FormData.Unuselists = this.FormData.Unuselist.sort(
-        this.compare("indexname")
-      );
+      // this.FormData.Unuselists.push(val);
+      // this.FormData.Unuselists = this.FormData.Unuselist.sort(
+      //   this.compare("indexname")
+      // );
       this.FormData.UseList.splice(index, 1);
       // this.FormData.UseLists.splice(index, 1);
       this.FormData.UseLists = this.FormData.UseLists.filter(

+ 4 - 4
src/views/systemManagement/addSystem/index.vue

@@ -417,13 +417,13 @@ export default {
     UnchangeChecked(val, index) {
       this.UncheckList = true;
       this.FormData.Unuselist.push(val);
-      this.FormData.Unuselists.push(val);
+      // this.FormData.Unuselists.push(val);
       this.FormData.Unuselist = this.FormData.Unuselist.sort(
         this.compare("indexname")
       );
-      this.FormData.Unuselists = this.FormData.Unuselist.sort(
-        this.compare("indexname")
-      );
+      // this.FormData.Unuselists = this.FormData.Unuselist.sort(
+      //   this.compare("indexname")
+      // );
       this.FormData.UseList.splice(index, 1);
       this.FormData.UseLists.splice(index, 1);
       // this.FormData.UseLists = this.FormData.UseLists.filter(