fix(stock):修复AI重新检测股票时保留问题文本的bug

- 在 aiReCheckStock函数中添加了清空 question 字段的逻辑
- 确保在重新检测股票时,不会保留上一次的问题文本
This commit is contained in:
ArvinLovegood 2025-02-21 14:38:01 +08:00
parent 92c61e4c26
commit c91466a023

View File

@ -538,7 +538,6 @@ function aiReCheckStock(stock,stockCode) {
NewChatStream(stock,stockCode,data.question) NewChatStream(stock,stockCode,data.question)
} }
function aiCheckStock(stock,stockCode){ function aiCheckStock(stock,stockCode){
GetAIResponseResult(stockCode).then(result => { GetAIResponseResult(stockCode).then(result => {
if(result.content){ if(result.content){