优化页面
This commit is contained in:
parent
3b4459bd4f
commit
ddfe049e1b
|
@ -197,7 +197,9 @@ export default {
|
||||||
finishInfo: (state) => state.user.finishInfo,
|
finishInfo: (state) => state.user.finishInfo,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
async onLoad() {
|
onLoad() {},
|
||||||
|
onShow() {},
|
||||||
|
async onReady() {
|
||||||
await this.$store.dispatch("user/info");
|
await this.$store.dispatch("user/info");
|
||||||
if (this.finishInfo) {
|
if (this.finishInfo) {
|
||||||
this.avatar = this.userInfo.worker.avatar;
|
this.avatar = this.userInfo.worker.avatar;
|
||||||
|
@ -244,8 +246,6 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onShow() {},
|
|
||||||
onReady() {},
|
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue