2025-09-17

修改登录
This commit is contained in:
2025-09-17 16:59:23 +08:00
parent 7423e1ff56
commit 3c8da5e9dc
5 changed files with 36 additions and 24 deletions

11
App.vue
View File

@@ -2,6 +2,17 @@
export default {
onLaunch: function() {
console.log('App Launch')
let token = uni.getStorageSync("token")
if (token) {
plus.navigator.closeSplashscreen();
return
}
uni.reLaunch({
url: "/pages/login/login",
success() {
plus.navigator.closeSplashscreen();
}
})
},
onShow: function() {
console.log('App Show')