bugfix: 点击节点回溯对话
This commit is contained in:
@@ -385,6 +385,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { ancestors, current } = data
|
const { ancestors, current } = data
|
||||||
|
|
||||||
const imgList = []
|
const imgList = []
|
||||||
const ancestorsList = []
|
const ancestorsList = []
|
||||||
if (ancestors) {
|
if (ancestors) {
|
||||||
|
|||||||
@@ -121,7 +121,7 @@
|
|||||||
{
|
{
|
||||||
name: 'refreshTransparent',
|
name: 'refreshTransparent',
|
||||||
action: () => {
|
action: () => {
|
||||||
emit('regenerate')
|
// emit('regenerate')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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: {} })
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user