From 332cd0a58baa11b005da99c47a014923d9c603cf Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 25 Jun 2024 18:24:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai-chat/ExecutionDetailDialog.vue | 130 ++++++++++-------- ui/src/workflow/common/CustomLine.vue | 16 +-- 2 files changed, 79 insertions(+), 67 deletions(-) diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index d63137bea..715996d81 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -28,65 +28,72 @@ @@ -95,7 +102,7 @@
判断结果
- {{ item.branch_name }} + {{ item.branch_name || '-' }}
@@ -112,29 +119,36 @@
历史记录
-

- {{ history.role }}:{{ history.content }} -

+ +
本次对话
-
{{ item.question }}
+
+ {{ item.question || '-' }} +
AI 回答
+
@@ -146,11 +160,13 @@
+
diff --git a/ui/src/workflow/common/CustomLine.vue b/ui/src/workflow/common/CustomLine.vue index 6277e7608..79c5cff16 100644 --- a/ui/src/workflow/common/CustomLine.vue +++ b/ui/src/workflow/common/CustomLine.vue @@ -1,13 +1,6 @@