feat: disable SSR

This commit is contained in:
Anthony Fu 2022-11-23 07:08:36 +08:00
parent e59b3e5db2
commit a6578155ae
29 changed files with 109 additions and 175 deletions

View file

@ -6,8 +6,7 @@ definePageMeta({
const { query } = useRoute()
onMounted(async () => {
const { login } = useClientState()
await login(query as any)
await loginCallback(query as any)
await nextTick()
await nextTick()
location.pathname = '/'