refactor: 重构前端骨架,及admin模块子路由和懒加载
refactor: 优化多次请求,并使用pinia状态管理
This commit is contained in:
1 parent
f877f61efd
commit
61693d014d
74 files changed
+9493
-6418
No files matched your search
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* app/router/routes/auth.routes.ts
|
||||
* 认证 / 工作台相关路由。
|
||||
*/
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import WorkspaceView from '@/views/WorkspaceView.vue';
|
||||
import ResetPasswordView from '@/views/ResetPasswordView.vue';
|
||||
|
||||
export const authRoutes: RouteRecordRaw[] = [
|
||||
{ path: '/', name: 'Home', component: WorkspaceView },
|
||||
{ path: '/workspace', name: 'Workspace', component: WorkspaceView },
|
||||
{ path: '/casdoor-callback', name: 'CasdoorCallback', component: WorkspaceView },
|
||||
{ path: '/reset-password', name: 'ResetPassword', component: ResetPasswordView },
|
||||
];
|
||||
Reference in new issue
Block a user