fix(specialAreaWrapper): 修复会员专区不展示的问题

This commit is contained in:
woody 2025-07-07 09:12:57 +08:00
parent 45fedba762
commit 6ba51bbb8e
1 changed files with 2 additions and 1 deletions

View File

@ -104,9 +104,10 @@ export default {
}, },
created() { created() {
const userInfo = uni.getStorageSync('userInfo') || this.userInfo const userInfo = uni.getStorageSync('userInfo') || this.userInfo
console.log(userInfo.memberSign, '...userInfo')
console.log(MEMBER_SIGN.ZERO_LEVEL, '...MEMBER_SIGN')
if (userInfo.memberSign == MEMBER_SIGN.ZERO_LEVEL) { if (userInfo.memberSign == MEMBER_SIGN.ZERO_LEVEL) {
this.upgrade.name = '会员专区' this.upgrade.name = '会员专区'
return
} }
this.getAreaListById(UPGRADE_AREA.id, this.upgradeList) this.getAreaListById(UPGRADE_AREA.id, this.upgradeList)
this.getAreaListById(REISSUE_AREA.id, this.rescissionList) this.getAreaListById(REISSUE_AREA.id, this.rescissionList)