mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-06-04 19:49:01 +00:00
修复permission路由拦截参数错误(I5RYY7)
This commit is contained in:
parent
e8d206ceed
commit
36e400027e
@ -20,7 +20,7 @@ list.forEach(item => {
|
||||
uni.addInterceptor(item, {
|
||||
invoke(to) {
|
||||
if (getToken()) {
|
||||
if (to.path === loginPage) {
|
||||
if (to.url === loginPage) {
|
||||
uni.reLaunch({ url: "/" })
|
||||
}
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user