修复bug
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user