refactor(frontend): 重构前端第三版

This commit is contained in:
sophie committed 2026-06-11 20:11:51 +08:00
1 parent bf32f8b954
commit dc141d19a2
49 files changed
+5333 -4234

No files matched your search

+2 -3
View File
@@ -1,11 +1,10 @@
/**
* app/router/routes/kb.routes.ts
* 知识库相关路由。
* 知识库兼容路由:旧 URL 重定向至 canonical 路径。
*/
import type { RouteRecordRaw } from 'vue-router';
import KbWorkspaceView from '@/views/KbWorkspaceView.vue';
export const kbRoutes: RouteRecordRaw[] = [
{ path: '/kb/workspace', name: 'KbWorkspace', component: KbWorkspaceView, meta: { title: '知识库工作台' } },
{ path: '/kb/workspace', redirect: { path: '/workspace/knowledge-base' } },
{ path: '/kb/admin', redirect: { path: '/admin/knowledge-base' } },
];