仓库相关-基本功能完成
This commit is contained in:
@@ -22,11 +22,11 @@ list.forEach(item => {
|
||||
uni.addInterceptor(item, {
|
||||
invoke(to) {
|
||||
if (getToken()) {
|
||||
if (to.url === loginPage) {
|
||||
uni.reLaunch({
|
||||
url: loginPage
|
||||
})
|
||||
}
|
||||
// if (to.url === loginPage) {
|
||||
// uni.reLaunch({
|
||||
// url: loginPage
|
||||
// })
|
||||
// }
|
||||
return true
|
||||
} else {
|
||||
if (checkWhite(to.url)) {
|
||||
|
||||
Reference in New Issue
Block a user