From e6e217289933a6f7618a5fd843c62ea19995f0a3 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 21 Nov 2024 12:54:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E4=B8=AD=E6=B2=A1=E6=9C=89=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1049251 --user=刘瑞斌 【应用编排】上传文件后,执行详情里没显示文件信息 https://www.tapd.cn/57709429/s/1614098 --- .../step_node/start_node/impl/base_start_node.py | 1 + .../ai-chat/component/question-content/index.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/application/flow/step_node/start_node/impl/base_start_node.py b/apps/application/flow/step_node/start_node/impl/base_start_node.py index 6388e4dfd6..4f95656d2e 100644 --- a/apps/application/flow/step_node/start_node/impl/base_start_node.py +++ b/apps/application/flow/step_node/start_node/impl/base_start_node.py @@ -77,5 +77,6 @@ def get_details(self, index: int, **kwargs): 'status': self.status, 'err_message': self.err_message, 'image_list': self.context.get('image'), + 'document_list': self.context.get('document'), 'global_fields': global_fields } diff --git a/ui/src/components/ai-chat/component/question-content/index.vue b/ui/src/components/ai-chat/component/question-content/index.vue index 031d247061..6c0bd39151 100644 --- a/ui/src/components/ai-chat/component/question-content/index.vue +++ b/ui/src/components/ai-chat/component/question-content/index.vue @@ -81,12 +81,12 @@ const image_list = computed(() => { }) onMounted(() => { - console.log(props.chatRecord.execution_details) - if (props.chatRecord.execution_details?.length > 0) { - props.chatRecord.execution_details[0].image_list?.forEach((image: any) => { - console.log('image', image.name, image.url) - }) - } + // console.log(props.chatRecord.execution_details) + // if (props.chatRecord.execution_details?.length > 0) { + // props.chatRecord.execution_details[0].image_list?.forEach((image: any) => { + // console.log('image', image.name, image.url) + // }) + // } })