修复permission路由拦截参数错误(I5RYY7)

This commit is contained in:
RuoYi 2022-12-27 14:45:52 +08:00
parent e8d206ceed
commit 36e400027e

View File

@ -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