修复会话 ID 设置错误,更新类型定义

This commit is contained in:
2026-04-29 15:42:37 +08:00
parent 3b5a493cda
commit 30d85173ee
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ export const GlobalChatbox: React.FC<Props> = ({ open, onClose }) => {
handleStopSpeech();
stopListening();
setMessages([]);
setConversationId(undefined);
setSessionId(undefined);
setInput("");
setIsStreaming(false);
handleHeaderMenuClose();
+4
View File
@@ -14,6 +14,10 @@
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"types": [
"jest",
"node"
],
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",