Commit b595199c authored by leiqingsong's avatar leiqingsong

修改设置第一次获取不到的情况

parent 98acd3a1
......@@ -65,7 +65,7 @@ export default {
inviteeCodeDialog: false
};
},
created() {
mounted() {
this.imageBaseUrl = process.env.VUE_APP_BASE_URL;
this.getUser();
},
......@@ -86,7 +86,6 @@ export default {
? "请填写推荐人邀请码"
: res.beInvitedCode;
this.avatar = res.headImage;
// this.avatar = "http://8.131.244.76:81" + res.headImage;
this.headImage = res.headImage;
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment