mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复没有子页面的路由写法问题
This commit is contained in:
@ -15,6 +15,7 @@ export function setRouterCacheName(component: Component, name?: string) {
|
||||
}
|
||||
}
|
||||
|
||||
// 获取登录后的重定向地址
|
||||
export function getLoginRedirectUrl() {
|
||||
const path = router.currentRoute.value.fullPath as EnumRoutePath;
|
||||
const redirectUrl = path === EnumRoutePath.root ? undefined : path;
|
||||
|
Reference in New Issue
Block a user