Skip to content

Commit 49d90e0

Browse files
committed
fix: 修复对话详情中没有文档展示的问题
--bug=1049251 --user=刘瑞斌 【应用编排】上传文件后,执行详情里没显示文件信息 https://www.tapd.cn/57709429/s/1614098
1 parent 4badd3a commit 49d90e0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

apps/application/flow/step_node/start_node/impl/base_start_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@ def get_details(self, index: int, **kwargs):
7777
'status': self.status,
7878
'err_message': self.err_message,
7979
'image_list': self.context.get('image'),
80+
'document_list': self.context.get('document'),
8081
'global_fields': global_fields
8182
}

ui/src/components/ai-chat/component/question-content/index.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ const image_list = computed(() => {
8181
})
8282
8383
onMounted(() => {
84-
console.log(props.chatRecord.execution_details)
85-
if (props.chatRecord.execution_details?.length > 0) {
86-
props.chatRecord.execution_details[0].image_list?.forEach((image: any) => {
87-
console.log('image', image.name, image.url)
88-
})
89-
}
84+
// console.log(props.chatRecord.execution_details)
85+
// if (props.chatRecord.execution_details?.length > 0) {
86+
// props.chatRecord.execution_details[0].image_list?.forEach((image: any) => {
87+
// console.log('image', image.name, image.url)
88+
// })
89+
// }
9090
})
9191
</script>
9292
<style lang="scss" scoped></style>

0 commit comments

Comments
 (0)