mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-12 15:35:39 +08:00
perf: 未登录重定向路径存储改为完整路径 (#3897)
This commit is contained in:
@@ -61,10 +61,10 @@ export function createPermissionGuard(router: Router) {
|
||||
path: LOGIN_PATH,
|
||||
replace: true,
|
||||
};
|
||||
if (to.path) {
|
||||
if (to.fullPath) {
|
||||
redirectData.query = {
|
||||
...redirectData.query,
|
||||
redirect: to.path,
|
||||
redirect: to.fullPath,
|
||||
};
|
||||
}
|
||||
next(redirectData);
|
||||
|
||||
Reference in New Issue
Block a user