- 将登录页面路径从 /pages/login 修改为 /pages/hexiao/login - 修复了401和-10错误码时的页面跳转逻辑
@@ -60,7 +60,7 @@ const request = config => {
if (code === 401 || code === -10) {
if (getToken()) {
store.dispatch('LogOut').then(() => {
- uni.reLaunch({ url: '/pages/login' })
+ uni.reLaunch({ url: '/pages/hexiao/login' })
})
}
result.success = false