feat(agent): 重构聊天页面实现,新增Coze SDK集成和API接口,优化路由权限配置

This commit is contained in:
林志军
2025-07-11 14:40:19 +08:00
parent a5c92999b1
commit f7ff8b2bd5
4 changed files with 159 additions and 46 deletions

View File

@ -5,6 +5,7 @@ export function checkRoutePermission(routeName: string) {
const allowAccessRoutes = userStore.allowAccessRoutes;
if (!routeName) return false;
return allowAccessRoutes.includes(routeName);
// todo
return true;
// return allowAccessRoutes.includes(routeName);
}