BUG 27736

This commit is contained in:
aixianling
2022-02-28 16:40:38 +08:00
parent b6bb4477c8
commit 1f5c1bb5a5
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ export default {
}, },
onLoad(options) { onLoad(options) {
if (uni.getStorageSync('areaId')) { if (uni.getStorageSync('areaId')) {
this.areaId = uni.getStorageSync('areaId') this.areaId = uni.getStorageSync('areaId')||this.user.areaId
} else { } else {
this.areaId = this.$areaId this.areaId = this.$areaId
} }

View File

@@ -146,7 +146,7 @@ export default {
getList() { getList() {
this.$instance.post(`/app/appvillagerintegralmerchandise/listByIntegral`, null, { this.$instance.post(`/app/appvillagerintegralmerchandise/listByIntegral`, null, {
params: { params: {
areaId: this.user?.currentAreaId areaId: this.user?.areaId
} }
}).then(res => { }).then(res => {
if (res && res.data) { if (res && res.data) {