diff --git a/src/mods/AppCreditPoints/AppCreditPoints.vue b/src/mods/AppCreditPoints/AppCreditPoints.vue index 43c8f3a..73c2df7 100644 --- a/src/mods/AppCreditPoints/AppCreditPoints.vue +++ b/src/mods/AppCreditPoints/AppCreditPoints.vue @@ -94,7 +94,7 @@ export default { }, onLoad(options) { if (uni.getStorageSync('areaId')) { - this.areaId = uni.getStorageSync('areaId') + this.areaId = uni.getStorageSync('areaId')||this.user.areaId } else { this.areaId = this.$areaId } diff --git a/src/mods/AppSupermarket/AppSupermarket.vue b/src/mods/AppSupermarket/AppSupermarket.vue index 4eaf2a8..0f58bf9 100644 --- a/src/mods/AppSupermarket/AppSupermarket.vue +++ b/src/mods/AppSupermarket/AppSupermarket.vue @@ -146,7 +146,7 @@ export default { getList() { this.$instance.post(`/app/appvillagerintegralmerchandise/listByIntegral`, null, { params: { - areaId: this.user?.currentAreaId + areaId: this.user?.areaId } }).then(res => { if (res && res.data) {