mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-13 07:43:43 +08:00
fix 修复 登录无redirect参数404问题
This commit is contained in:
parent
786f25bfd4
commit
23f372dad7
@ -124,7 +124,7 @@ const tenantList = ref<TenantVO[]>([]);
|
||||
watch(
|
||||
() => router.currentRoute.value,
|
||||
(newRoute: any) => {
|
||||
redirect.value = newRoute.query && decodeURIComponent(newRoute.query.redirect);
|
||||
redirect.value = newRoute.query && newRoute.query.redirect && decodeURIComponent(newRoute.query.redirect);
|
||||
},
|
||||
{ immediate: true }
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user