提交
This commit is contained in:
parent
5b5885c819
commit
8b06e8e018
|
|
@ -277,7 +277,8 @@ class RequestManager {
|
|||
icon: 'none'
|
||||
})
|
||||
}, 100)
|
||||
|
||||
uni.removeStorageSync('token');
|
||||
uni.removeStorageSync('userinfo');
|
||||
// 使用新的路由守卫方法进行跳转
|
||||
RouterManager.navigateTo('/pages/user/login', {}, 'navigateTo')
|
||||
.catch(err => {
|
||||
|
|
|
|||
|
|
@ -157,6 +157,8 @@ export function routerTo(options) {
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
// console.log('url',url,params,type,isInWhiteList(url),isLogin());
|
||||
|
||||
// 未指定跳转方式,先尝试navigateTo,失败后尝试switchTab
|
||||
uni.navigateTo({
|
||||
url,
|
||||
|
|
|
|||
|
|
@ -917,14 +917,7 @@ export default {
|
|||
},
|
||||
|
||||
open(e) {
|
||||
if (e == "sendPop") {
|
||||
uni.showToast({
|
||||
title: '发货未开放',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
return;
|
||||
}
|
||||
|
||||
this.handelList = []
|
||||
const choose = this.getChooseGoods()
|
||||
|
||||
|
|
|
|||
|
|
@ -494,9 +494,10 @@
|
|||
this.$refs.qunliao_show.open()
|
||||
break
|
||||
default:
|
||||
this.$c.to({
|
||||
url: item.path
|
||||
})
|
||||
this.$customRouter.navigateTo(item.path)
|
||||
// this.$c.to({
|
||||
// url: item.path
|
||||
// })
|
||||
break
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user