This commit is contained in:
oneao committed 2025-12-11 22:26:28 +08:00
1 parent 57c0d98f11
commit 861b529d9b
19 files changed
+742 -66

No files matched your search

@@ -16,6 +16,31 @@ const router = createRouter({
},
],
},
{
path: '/auth/login',
name: 'Login',
component: () => import('@/views/auth/login.vue'),
},
{
path: '/auth/register',
name: 'Register',
component: () => import('@/views/auth/register.vue'),
},
{
path: '/auth/forget',
name: 'Forget',
component: () => import('@/views/auth/forget.vue'),
},
{
path: '/error/500',
name: 'Error',
component: () => import('@/views/error/500.vue'),
},
{
path: '/:pathMatch(.*)*',
name: 'NotFound',
component: () => import('@/views/error/404.vue'),
},
],
scrollBehavior: () => ({ left: 0, top: 0 }),
})