fix(X-Pack): oidc退出登录报错

This commit is contained in:
fit2cloud-chenyw 2024-04-28 16:03:00 +08:00
parent 16a1e6ac88
commit 540229f2f3

View File

@ -27,6 +27,7 @@ export const logoutHandler = (justClean?: boolean) => {
return
}
if (wsCache.get('out_auth_platform') === 'oidc') {
localStorage.removeItem('out_auth_platform')
window.location.href = '/oidcbi/oidc/logout'
return
}