gaoxiong hace 1 año
padre
commit
7cc1d67a5d
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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() {},