From b82e6217d722955b150a706e3db9e7e3eae4703b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 10 Nov 2023 10:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/homepage/homepage.vue | 9 ++------- pages/myinformation/myinformation.vue | 3 +-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index a5600bc..0f21139 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -104,7 +104,7 @@ this.openid = uni.getStorageSync('openid'); if (uni.getStorageSync('userinfo')) { this.userinfo = uni.getStorageSync('userinfo') - this.cityCode = this.userinfo.cityCode; + this.cityCode = Number(this.userinfo.cityCode); } if (this.address == '德州市') { uni.setStorageSync("region", 1) @@ -210,11 +210,6 @@ title: this.infotitle, type: 'error', }) - } else if (this.checkSign == "01") { - this.$refs.uToast.show({ - title: this.infotitle, - type: 'error', - }) } else { uni.navigateTo({ url: '/pagesB/Behaviorpoints/Behaviorpoints' @@ -372,4 +367,4 @@ \ No newline at end of file + diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 8ca118c..a114287 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -305,7 +305,6 @@ type: 'success', duration: '1000', }) - this.myInfo() } else { this.$refs.uToast.show({ @@ -532,4 +531,4 @@ \ No newline at end of file +