朱鑫波 3 роки тому
батько
коміт
e7545f6c0e

+ 9 - 6
src/views/modules/Statistics/newPlanStatic/newPlanStatic.vue

@@ -1337,12 +1337,15 @@ export default {
       this.getEchartData('sectionChart', this.sectionOption);
 
       // this.tabChange(2)
-      let userInfo=localStorage.getItem('pro__Login_Userinfo')
-      if(userInfo){
-        this.userId=this.userInfo().id;
-        this.operate=this.userId;
-        this.getNewPlan()
-      }
+      // let userInfo=localStorage.getItem('pro__Login_Userinfo')
+      // if(userInfo){
+      //   this.userId=this.userInfo().id;
+      //   this.operate=this.userId;
+      //   this.getNewPlan()
+      // }
+      this.userId=this.userInfo().id;
+      this.operate=this.userId;
+      this.getNewPlan()
       // console.log(this.userId)