调整 token过期 及 重定向首页问题

This commit is contained in:
浅念
2026-03-13 10:17:12 +08:00
parent f9b199f6a6
commit bdd6bd1066
8 changed files with 198 additions and 8 deletions
+7
View File
@@ -21,6 +21,13 @@
onHide: function() {
console.log('App Hide')
},
onPageNotFound: function(res) {
console.log('页面不存在', res);
// 重定向到首页
uni.reLaunch({
url: '/pages/index/index'
});
},
globalData: {
test: ''
},