feat(agent): 重构聊天页面实现,新增Coze SDK集成和API接口,优化路由权限配置
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user