优化
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user