From 75074143d539fa286777b382a8f489d6e57c2f79 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Tue, 23 May 2023 10:38:36 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabBar/home/home.vue | 42 +++++--------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue index 5e5b7e8..28cb43b 100644 --- a/pages/tabBar/home/home.vue +++ b/pages/tabBar/home/home.vue @@ -221,43 +221,11 @@ }, onShow() { - this.homeCateList = []; - if (app.globalData.cityName != '') { - this.city = app.globalData.qianzhuCityName; - this.getCmsContentcmsContent(); - } - // #ifdef H5 - // uni.getStorage({ - // key: 'accountId', - // success(e) { - // if (e.data) { - // app.globalData.accountId = e.data; - // } - // } - // }) - // uni.getStorage({ - // key: 'gasKey', - // success(e) { - // if (e.data) { - // app.globalData.gasKey = e.data; - // } - // } - // }) - // uni.getStorage({ - // key: 'staffCode', - // success(e) { - // if (e.data) { - // if (app.globalData.accountId == '000001&key' || app.globalData.accountId == - // '000000&gasKey' || app.globalData.accountId == '000009&key' || app.globalData - // .accountId == '0000010&key') { - // app.globalData.staffCode = e.data; - // } else { - // app.globalData.mchId = e.data; - // } - // } - // } - // }) - // #endif + // this.homeCateList = []; + // if (app.globalData.cityName != '') { + // this.city = app.globalData.qianzhuCityName; + // this.getCmsContentcmsContent(); + // } }, onLoad(options) { let that = this;