Tcode平台改造升级-删除多余备注

This commit is contained in:
fmk1023
2025-12-10 15:46:18 +08:00
parent 61f8e017de
commit a630f40b76
4 changed files with 1 additions and 6 deletions

View File

@@ -250,7 +250,6 @@ const onSubmit = async (e, answer = undefined) => {
});
};
// 刷新回答(重新发送上一个用户问题)
const handleRefresh = (index: number) => {
const currentMsg = messages.value[index-1];
if (currentMsg.role === 'user' && currentMsg.content) { // 假设AI回答的question字段存储了用户原始问题