feat: 项目加载优化

This commit is contained in:
Gsh
2026-02-01 00:30:44 +08:00
parent 3b6887dc2e
commit 11cbb1b612
29 changed files with 1490 additions and 299 deletions

View File

@@ -12,4 +12,18 @@ export const COLLAPSE_THRESHOLD: number = 600;
export const SIDE_BAR_WIDTH: number = 280;
// 路由白名单地址[本地存在的路由 staticRouter.ts 中]
export const ROUTER_WHITE_LIST: string[] = ['/chat', '/chat/conversation', '/chat/image', '/chat/video', '/model-library', '/403', '/404'];
// 包含所有无需登录即可访问的公开路径
export const ROUTER_WHITE_LIST: string[] = [
'/chat',
'/chat/conversation',
'/chat/image',
'/chat/video',
'/chat/agent',
'/model-library',
'/products',
'/pay-result',
'/activity/:id',
'/announcement/:id',
'/403',
'/404',
];