feat: chat首页渲染优化
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user