coys 1 ano atrás
pai
commit
23a8603113
1 arquivos alterados com 5 adições e 2 exclusões
  1. 5 2
      src/views/menu/cockpit/index.vue

+ 5 - 2
src/views/menu/cockpit/index.vue

@@ -194,8 +194,11 @@ export default {
     
   },
   mounted() {
-
-    // this.cascaderValue = JSON.parse(window.sessionStorage.getItem('SET_USER_ORGID')) + ''
+    
+    if(this.orgTreeHangshe){
+      this.cascaderValue =this.orgTreeHangshe[0].id
+    }
+    
     this.getBaseInfoHandler({ orgId: this.cascaderValue })
     //设置默认排序