mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
Merge pull request #10143 from dataease/pr@dev-v2@fix_distributed_xpack_login
fix(X-Pack): 分布式X-Pack登录无法跳转
This commit is contained in:
@@ -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
Submodule de-xpack updated: e55d5ef12d...a12eea394d
Reference in New Issue
Block a user