chenrui  3 years ago
parent
commit
03feaaf347
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/systemManagement/addSystem/index.vue

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

@@ -377,7 +377,6 @@ export default {
         GetUserList(obj)
           .then((res) => {
             if (res.code === 0) {
-              this.arrList = [];
               const datas = res.returnData.records;
               const num = res.returnData.pages;
               this.arrList.push(datas);
@@ -440,7 +439,7 @@ 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")
       );
@@ -487,6 +486,7 @@ export default {
     getUserData(val) {
       this.keyWords = this.keyWords.replace(/\s+/g, "");
       const search = this.keyWords;
+      this.arrList = [];
       this.getUserList({
         QueryName: this.keyWords,
         PageSize: this.PageSize,