|
@@ -277,14 +277,16 @@
|
|
|
}
|
|
|
},
|
|
|
async getUserInfo() {
|
|
|
- let ret = await this.$myRequest({
|
|
|
- url: "/user/userInfo",
|
|
|
- data: {},
|
|
|
- method: "GET"
|
|
|
- });
|
|
|
- if (ret.data.success) {
|
|
|
- this.userInfo = ret.data.single || null;
|
|
|
- this.showGuide = this.userInfo.userId?this.userInfo.ownersUnion?false:true:true;
|
|
|
+ if(app.globalData.userId){
|
|
|
+ let ret = await this.$myRequest({
|
|
|
+ url: "/user/userInfo",
|
|
|
+ data: {},
|
|
|
+ method: "GET"
|
|
|
+ });
|
|
|
+ if (ret.data.success) {
|
|
|
+ this.userInfo = ret.data.single || null;
|
|
|
+ this.showGuide = this.userInfo.userId?this.userInfo.ownersUnion?false:true:true;
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
// 调准项目详情
|