mirror of https://github.com/halo-dev/halo-admin
[release-2.0] fix: login in safari browser has no effect (#808)
This is an automated cherry-pick of #804 /assign ruibaby ```release-note 修复 Console 端在 Safari 浏览器登录之后无反应的问题 ```pull/809/head^2
parent
c2f9b73a8d
commit
56023158a3
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue