Skip to content

Commit

Permalink
fix: 修复对话详情中没有文档展示的问题
Browse files Browse the repository at this point in the history
--bug=1049251 --user=刘瑞斌 【应用编排】上传文件后,执行详情里没显示文件信息 https://www.tapd.cn/57709429/s/1614098
  • Loading branch information
liuruibin committed Nov 21, 2024
1 parent aba33eb commit e6e2172
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
12 changes: 6 additions & 6 deletions ui/src/components/ai-chat/component/question-content/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit e6e2172

Please sign in to comment.