diff --git a/src/apps/AppSuperMarket/AppSuperMarket.vue b/src/apps/AppSuperMarket/AppSuperMarket.vue index db1712eb..c3339d80 100644 --- a/src/apps/AppSuperMarket/AppSuperMarket.vue +++ b/src/apps/AppSuperMarket/AppSuperMarket.vue @@ -121,7 +121,13 @@ export default { }, onLoad() { - // this.getList() + this.areaId = this.user.areaId + if(/[^0]0{0,2}$/.test(this.areaId)) { + this.isAreaId = true + this.getList() + }else { + this.isAreaId = false + } this.areaName = this.user.areaName || '' }, onShow() {