mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-18 04:45:07 +08:00
完善SSO单点登录
This commit is contained in:
@ -279,7 +279,6 @@ const doSocialLogin = async (type: number) => {
|
||||
watch(
|
||||
() => currentRoute.value,
|
||||
(route: RouteLocationNormalizedLoaded) => {
|
||||
if (route.name === 'SSOLogin') setLoginState(LoginStateEnum.SSO)
|
||||
redirect.value = route?.query?.redirect as string
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user