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 })
     //设置默认排序