coys 1 рік тому
батько
коміт
23a8603113
1 змінених файлів з 5 додано та 2 видалено
  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 })
     //设置默认排序