diff --git a/src/views/home/agent/components/Agent.vue b/src/views/home/agent/components/Agent.vue index 0bb37e2..0681352 100644 --- a/src/views/home/agent/components/Agent.vue +++ b/src/views/home/agent/components/Agent.vue @@ -385,6 +385,7 @@ } const { ancestors, current } = data + const imgList = [] const ancestorsList = [] if (ancestors) { diff --git a/src/views/home/agent/components/Item.vue b/src/views/home/agent/components/Item.vue index 89398a1..dfa7ee0 100644 --- a/src/views/home/agent/components/Item.vue +++ b/src/views/home/agent/components/Item.vue @@ -121,7 +121,7 @@ { name: 'refreshTransparent', action: () => { - emit('regenerate') + // emit('regenerate') } }, { diff --git a/src/views/home/agent/index.vue b/src/views/home/agent/index.vue index e3c37ff..9761379 100644 --- a/src/views/home/agent/index.vue +++ b/src/views/home/agent/index.vue @@ -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: {} }) } ) }