onLaunch: function() {
setTimeout(() => {
uni.reLaunch({
url: 'pages/Login/Login',
fail: (err) => {
uni.showModal({
content: "跳转失败1:" + JSON.stringify(err)
})
},
success: (e) => {
uni.showModal({
content: "跳转成功2"
})
}
})
}, 300)
}
试了uni.reLaunch,redirectTo,switchTab(白屏)均无效。
但是我把应用的 存储权限取消就又有效了,勾上又失效。 真的郁闷至极。
0 个回复