bugfix: 点击节点回溯对话

This commit is contained in:
2026-03-03 10:28:16 +08:00
parent b9865029b3
commit b36001b154
3 changed files with 3 additions and 2 deletions

View File

@@ -385,6 +385,7 @@
} }
const { ancestors, current } = data const { ancestors, current } = data
const imgList = [] const imgList = []
const ancestorsList = [] const ancestorsList = []
if (ancestors) { if (ancestors) {

View File

@@ -121,7 +121,7 @@
{ {
name: 'refreshTransparent', name: 'refreshTransparent',
action: () => { action: () => {
emit('regenerate') // emit('regenerate')
} }
}, },
{ {

View File

@@ -56,7 +56,7 @@
const handleSelectNode = () => { const handleSelectNode = () => {
getNodeAncestors({ projectId: projectStore.state.id, id: projectStore.state.nodeId }).then( getNodeAncestors({ projectId: projectStore.state.id, id: projectStore.state.nodeId }).then(
(res) => { (res) => {
agentRef.value.setChatInfo(res) agentRef.value.setChatInfo({ conversation: res, project: {} })
} }
) )
} }