优化
This commit is contained in:
@@ -13,7 +13,7 @@ const router = useRouter()
|
|||||||
// 已登录则跳转首页
|
// 已登录则跳转首页
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
if (unref(isLogin)) {
|
if (unref(isLogin)) {
|
||||||
router.push('/dashboard')
|
router.push('/monisuo/dashboard')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user