fix: 修复AI询问时选项点击后选中状态丢失的问题

- 添加 answeredQuestions Map 存储已回答问题的状态
- 在重新渲染时恢复选中状态和 answered 类
- 已回答的问题自动隐藏输入框并禁用点击事件
- 确保用户选择在页面更新时保持显示
This commit is contained in:
Roe-xin
2025-12-24 10:01:53 +08:00
parent 5c2ea0f15c
commit 10f0877a5e
9 changed files with 1763 additions and 1258 deletions

View File

@ -9,5 +9,7 @@
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
"typescript.tsc.autoDetect": "off",
// IC Coder 后端服务地址
"icCoder.backendUrl": "http://192.168.1.108:2233"
}