Merge pull request #4597 from dataease/pr@dev@fix_router_to_resource

fix(路由): 无法路由到资源
This commit is contained in:
fit2cloudrd 2023-02-21 14:10:37 +08:00 committed by GitHub
commit 98877daa8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ router.beforeEach(async (to, from, next) => routeBefore(() => {
next()
} else {
// other pages that do not have permission to access are redirected to the login page.
next(`/login?redirect=${to.path}`)
next(`/login?redirect=${to.fullPath}`)
NProgress.done()
}
}