Commit 0d41adf1 authored by leiqingsong's avatar leiqingsong

修改

parent d7325781
......@@ -62,7 +62,7 @@ export default {
inviteeCodeDialog: false
};
},
created() {
mounted() {
this.getUser();
},
methods: {
......@@ -70,6 +70,7 @@ export default {
const params = {
userId: this.$userId
};
console.log('setting-userId', params);
getUserInfo2(params).then(res => {
if (res.code == 0) {
localStorage.setItem("user", JSON.stringify(res.data));
......
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