diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue
index 49234c0f8..45bfc9b1c 100644
--- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue
+++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue
@@ -7,7 +7,7 @@
- 开始
+ {{ item && item.name }}
6.01s
@@ -34,13 +34,13 @@ import { MdPreview } from 'md-editor-v3'
const emit = defineEmits(['refresh'])
const dialogVisible = ref(false)
-const detail = ref
({})
+const detail = ref([])
const current = ref('')
watch(dialogVisible, (bool) => {
if (!bool) {
- detail.value = {}
+ detail.value = []
}
})
diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue
index cb3bb1d76..e753b6ee8 100644
--- a/ui/src/components/ai-chat/index.vue
+++ b/ui/src/components/ai-chat/index.vue
@@ -153,6 +153,7 @@ import { ChatManagement, type chatType } from '@/api/type/application'
import { randomId } from '@/utils/utils'
import useStore from '@/stores'
import MdRenderer from '@/components/markdown-renderer/MdRenderer.vue'
+import { isWorkFlow } from '@/utils/application'
import { MdPreview } from 'md-editor-v3'
import { debounce } from 'lodash'
defineOptions({ name: 'AiChat' })
@@ -335,7 +336,7 @@ function getChartOpenId(chat?: any) {
}
})
} else {
- if (obj.type === 'WORK_FLOW') {
+ if (isWorkFlow(obj.type)) {
const submitObj = {
work_flow: obj.work_flow
}
diff --git a/ui/src/layout/components/breadcrumb/index.vue b/ui/src/layout/components/breadcrumb/index.vue
index 96476fcfb..4dcd41b6a 100644
--- a/ui/src/layout/components/breadcrumb/index.vue
+++ b/ui/src/layout/components/breadcrumb/index.vue
@@ -120,7 +120,7 @@