gaoxiong 1 год назад
Родитель
Сommit
7cc1d67a5d
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/components/userSelector/index.vue

+ 4 - 1
src/components/userSelector/index.vue

@@ -194,6 +194,9 @@ export default {
     },
     refresh() {
       this.$nextTick(() => {
+        if(!this.search.orgId ){
+          this.search.orgId = this.$store.state.user.orgId;
+        }
         this.$refs.searchTable.refresh();
       });
     },
@@ -239,7 +242,7 @@ export default {
           name: null,
         };
       }
-      
+
     },
   },
   mounted() {},