From 67663ff4bbcf1a7e54a4800c20ae16ec7fb9824c Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 9 Mar 2022 14:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=B6=85=E5=B8=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppSuperMarket/AppSuperMarket.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() {