Compare commits

..

2 Commits

Author SHA1 Message Date
f5a5ae79e1 优化 2026-03-22 14:23:33 +08:00
50eca82286 优化 2026-03-22 14:23:14 +08:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import type { RouteLocationRaw } from 'vue-router'
export const RouterPath: Record<string, RouteLocationRaw> = {
HOME: '/dashboard',
HOME: '/monisuo/dashboard',
LOGIN: '/auth/sign-in',
} as const

View File

@@ -13,7 +13,7 @@ const router = useRouter()
// 已登录则跳转首页
watchEffect(() => {
if (unref(isLogin)) {
router.push('/dashboard')
router.push('/monisuo/dashboard')
}
})

View File

@@ -4,7 +4,7 @@ import { useRouter } from 'vue-router'
import Loading from '@/components/loading.vue'
const router = useRouter()
router.push({ name: '/dashboard/' })
router.push({ name: '/monisuo/dashboard' })
</script>
<template>