fix(index): 注册后首页无专区问题修复

This commit is contained in:
woody 2025-09-17 11:20:38 +08:00
parent 6a27c8bca2
commit ee2960ee33
1 changed files with 5 additions and 3 deletions

View File

@ -427,9 +427,11 @@ export default {
}, },
onShow() { onShow() {
this.$store.dispatch('getCarLength') this.$store.dispatch('getCarLength')
this.$store.dispatch('GetInfo').then(() => {
this.user = uni.getStorageSync('User') this.user = uni.getStorageSync('User')
this.getAreaGoods() this.getAreaGoods()
this.newShareMember = this.user?.loginType !== 0 this.newShareMember = this.user?.loginType !== 0
})
}, },
onPullDownRefresh() { onPullDownRefresh() {
let that = this let that = this