From 185c6c75764083d0595dd3615f0b6739ae66d0f8 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 15 Mar 2024 09:43:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=99=BB=E5=87=BA=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/logout.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core-frontend/src/utils/logout.ts b/core/core-frontend/src/utils/logout.ts index 4618ed03f5..7db604181e 100644 --- a/core/core-frontend/src/utils/logout.ts +++ b/core/core-frontend/src/utils/logout.ts @@ -30,6 +30,9 @@ export const logoutHandler = (justClean?: boolean) => { window.location.href = '/oidcbi/oidc/logout' return } + if (wsCache.get('custom_auth_logout_url')) { + window.location.href = wsCache.get('custom_auth_logout_url') + } router.push(justClean ? queryRedirectPath : `/login?redirect=${queryRedirectPath}`) }