优化页面

This commit is contained in:
TOP糯米 2023-03-30 22:28:57 +08:00
parent 3b4459bd4f
commit ddfe049e1b
1 changed files with 3 additions and 3 deletions

View File

@ -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: {