forked from github/dataease
fix(X-Pack): 分布式X-Pack登录无法跳转
This commit is contained in:
parent
b793d379ce
commit
678f2a03b5
@ -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)
|
||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
||||
Subproject commit e55d5ef12d98a142487a29b62343332f4884a3a2
|
||||
Subproject commit a12eea394d8d5edf2941988819b08676e512a11e
|
Loading…
Reference in New Issue
Block a user