Feat/enterprise sso (#3602)

This commit is contained in:
Garfield Dai 2024-04-18 17:33:32 +08:00 • committed by GitHub
commit 4481906be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 518 additions and 21 deletions

View file

@ -39,6 +39,10 @@ export default function AppSelector({ isMobile }: IAppSelecotr) {
url: '/logout',
params: {},
})
if (localStorage?.getItem('console_token'))
localStorage.removeItem('console_token')
router.push('/signin')
}