feat: chat首页渲染优化

This commit is contained in:
rd
2025-08-25 18:01:04 +08:00
parent 13670acc9a
commit 6926a43d8a
14 changed files with 544 additions and 343 deletions

View File

@ -63,11 +63,11 @@ export default async (config: SSEConfig, url: string = DEFAULT_SSE_URL): Promise
}
},
onerror(error: Error) {
console.error('SSE error:', error);
// console.error('SSE error:', error);
handleError?.(error);
},
onclose() {
console.log('SSE connection closed');
// console.log('SSE connection closed');
handleClose?.();
},
async onopen(response: Response) {