fix: 修复对话详情中没有文档展示的问题

--bug=1049251 --user=刘瑞斌 【应用编排】上传文件后,执行详情里没显示文件信息 https://www.tapd.cn/57709429/s/1614098
This commit is contained in:
CaptainB 2024-11-21 12:54:43 +08:00 committed by 刘瑞斌
parent 4badd3ab6e
commit 49d90e0625
2 changed files with 7 additions and 6 deletions

View File

@ -77,5 +77,6 @@ class BaseStartStepNode(IStarNode):
'status': self.status,
'err_message': self.err_message,
'image_list': self.context.get('image'),
'document_list': self.context.get('document'),
'global_fields': global_fields
}

View File

@ -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)
// })
// }
})
</script>
<style lang="scss" scoped></style>