bugfix: 更新prompt
This commit is contained in:
@@ -19,6 +19,19 @@ const options: Options = {
|
||||
placeholder: '请输入内容'
|
||||
}
|
||||
|
||||
watch(
|
||||
() => props.nodeList,
|
||||
() => {
|
||||
sender.reset({
|
||||
clearHistory: true,
|
||||
chatNode: [props.nodeList]
|
||||
})
|
||||
},
|
||||
{
|
||||
deep: true
|
||||
}
|
||||
)
|
||||
|
||||
const chatNode = [[]]
|
||||
|
||||
const createSender = () => {
|
||||
|
||||
Reference in New Issue
Block a user