Commit 024ccbb0 authored by tyyin lan's avatar tyyin lan

chore(首页): 打断回答发起新对话后更新历史记录

parent 9c3e4b1f
......@@ -80,7 +80,11 @@ function handleCreateNewSession() {
isAgentResponding.value = false
emit('createNewSession')
/* 延时,避免页面刷新后,历史记录列表未刷新 */
setTimeout(() => {
emit('historyRecordListUpdate')
}, 300)
})
} else {
emit('createNewSession')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment