dengjie commit : 修改部分存在问题

This commit is contained in:
邓洁
2023-02-03 01:00:26 +08:00
parent 9b7fccdd53
commit d76675a66a
9 changed files with 135 additions and 96 deletions

View File

@@ -54,9 +54,6 @@
this.$refs.myavatar.getUser()
if (!uni.getStorageSync('loginToken') || uni.getStorageSync('loginToken').length === 0) {
this.isLoad = false
// uni.navigateTo({
// url: '../../pages/my/login/login'
// })
return
}
this.isLoad = true
@@ -119,9 +116,6 @@
if (!uni.getStorageSync('loginToken') || uni.getStorageSync('loginToken').length === 0) {
this.$toast.warn('登录失败请重试')
this.isLoad = false
// uni.navigateTo({
// url: '../../pages/my/login/login'
// })
return
}
this.isLoad = true
@@ -130,10 +124,9 @@
}
},
failToLoad() {
// uni.navigateBack({
// url: '/pages/my/my'
// })
this.$toast.warn('登录失败请重试')
uni.reLaunch({
url: '/pages/index/index'
})
}
}
}