fix(X-Pack): 分布式X-Pack登录无法跳转

This commit is contained in:
fit2cloud-chenyw 2024-06-06 12:15:38 +08:00
parent b793d379ce
commit 678f2a03b5
2 changed files with 7 additions and 3 deletions

View File

@ -117,8 +117,12 @@ const handleLogin = () => {
if (!xpackLoadFail.value && xpackInvalidPwd.value?.invokeMethod) {
const param = {
methodName: 'init',
args: () => {
duringLogin.value = false
args: r => {
duringLogin.value = !!r
if (r) {
const queryRedirectPath = getCurLocation()
router.push({ path: queryRedirectPath })
}
}
}
xpackInvalidPwd?.value.invokeMethod(param)

@ -1 +1 @@
Subproject commit e55d5ef12d98a142487a29b62343332f4884a3a2
Subproject commit a12eea394d8d5edf2941988819b08676e512a11e