refactor(frontend): 重构前端第三版
This commit is contained in:
1 parent
bf32f8b954
commit
dc141d19a2
49 files changed
+5333
-4234
No files matched your search
@@ -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' } },
|
||||
];
|
||||
Reference in new issue
Block a user