Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

[release-2.0] fix: login in safari browser has no effect #808

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/modules/system/users/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ onBeforeMount(() => {
router.push({ name: "Dashboard" });
}
});
function onLoginSucceed() {
window.location.reload();
}
</script>
<template>
<div class="flex h-screen flex-col items-center justify-center">
<IconLogo class="mb-8" />
<div class="login-form flex w-72 flex-col">
<LoginForm @succeed="router.go(0)" />
<LoginForm @succeed="onLoginSucceed" />
</div>
</div>
</template>