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 +