bugfix: 更新prompt

This commit is contained in:
zhangyh
2025-11-20 17:32:28 +08:00
parent 85cb0e9792
commit 155b5b4cd5
2 changed files with 20 additions and 7 deletions

View File

@@ -19,6 +19,19 @@ const options: Options = {
placeholder: '请输入内容'
}
watch(
() => props.nodeList,
() => {
sender.reset({
clearHistory: true,
chatNode: [props.nodeList]
})
},
{
deep: true
}
)
const chatNode = [[]]
const createSender = () => {