修复bug

This commit is contained in:
dengjie
2023-01-31 00:24:28 +08:00
parent 6445aa4783
commit 05236e188c
2 changed files with 3 additions and 19 deletions

View File

@@ -61,16 +61,6 @@
}
this.isLoad = true
},
onLoad() {
if (!uni.getStorageSync('loginToken') || uni.getStorageSync('loginToken').length === 0) {
this.isLoad = false
// uni.navigateTo({
// url: '../../pages/my/login/login'
// })
return
}
this.isLoad = true
},
methods: {
//跳转到绑定公司页面
bindCompany() {
@@ -135,7 +125,9 @@
return
}
this.isLoad = true
this.$refs.myavatar.getUser()
if (this.isLoad) {
this.$refs.myavatar.getUser()
}
},
failToLoad() {
// uni.navigateBack({