bugfix: 点击节点回溯对话
This commit is contained in:
@@ -385,6 +385,7 @@
|
||||
}
|
||||
|
||||
const { ancestors, current } = data
|
||||
|
||||
const imgList = []
|
||||
const ancestorsList = []
|
||||
if (ancestors) {
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
{
|
||||
name: 'refreshTransparent',
|
||||
action: () => {
|
||||
emit('regenerate')
|
||||
// emit('regenerate')
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
const handleSelectNode = () => {
|
||||
getNodeAncestors({ projectId: projectStore.state.id, id: projectStore.state.nodeId }).then(
|
||||
(res) => {
|
||||
agentRef.value.setChatInfo(res)
|
||||
agentRef.value.setChatInfo({ conversation: res, project: {} })
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user