This commit is contained in:
2023-11-10 10:52:31 +08:00
parent 6ca15aef84
commit b82e6217d7
2 changed files with 3 additions and 9 deletions

View File

@ -104,7 +104,7 @@
this.openid = uni.getStorageSync('openid'); this.openid = uni.getStorageSync('openid');
if (uni.getStorageSync('userinfo')) { if (uni.getStorageSync('userinfo')) {
this.userinfo = uni.getStorageSync('userinfo') this.userinfo = uni.getStorageSync('userinfo')
this.cityCode = this.userinfo.cityCode; this.cityCode = Number(this.userinfo.cityCode);
} }
if (this.address == '德州市') { if (this.address == '德州市') {
uni.setStorageSync("region", 1) uni.setStorageSync("region", 1)
@ -210,11 +210,6 @@
title: this.infotitle, title: this.infotitle,
type: 'error', type: 'error',
}) })
} else if (this.checkSign == "01") {
this.$refs.uToast.show({
title: this.infotitle,
type: 'error',
})
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pagesB/Behaviorpoints/Behaviorpoints' url: '/pagesB/Behaviorpoints/Behaviorpoints'
@ -372,4 +367,4 @@
<style lang="scss"> <style lang="scss">
@import "./homepage.scss"; @import "./homepage.scss";
</style> </style>

View File

@ -305,7 +305,6 @@
type: 'success', type: 'success',
duration: '1000', duration: '1000',
}) })
this.myInfo() this.myInfo()
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
@ -532,4 +531,4 @@
<style lang="scss"> <style lang="scss">
@import './myinformation.scss' @import './myinformation.scss'
</style> </style>