coys hace 1 año
padre
commit
23a8603113
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  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 })
     //设置默认排序