diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index ce1dcf752..58e8bef41 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -104,7 +104,7 @@
本次对话
-
+
{{ item.question || '-' }}
diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 1d39fd8c0..6a7e45a52 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -42,7 +42,7 @@
-
+
{{ item.problem_text }}
@@ -607,7 +607,7 @@ watch( onMounted(() => { setTimeout(() => { - if (quickInputRef.value) { + if (quickInputRef.value && mode === 'embed') { quickInputRef.value.textarea.style.height = '0' } }, 1800) diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss index 149e3ad9e..ef96a7d77 100644 --- a/ui/src/styles/app.scss +++ b/ui/src/styles/app.scss @@ -341,8 +341,8 @@ h5 { word-break: break-all; } -.pre-line { - white-space: pre-line; +.pre-wrap { + white-space: pre-wrap; } /* diff --git a/ui/src/views/application-overview/component/EmbedDialog.vue b/ui/src/views/application-overview/component/EmbedDialog.vue index 0418c8fd5..770395729 100644 --- a/ui/src/views/application-overview/component/EmbedDialog.vue +++ b/ui/src/views/application-overview/component/EmbedDialog.vue @@ -42,7 +42,7 @@
-
+
{{ source2 }}
@@ -109,9 +109,6 @@ defineExpose({ open }) font-size: 13px; white-space: pre; height: 180px; - .white-space { - white-space: pre-wrap; - } } } diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index 208982919..5df23964a 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -36,7 +36,7 @@ @mousedown="onmousedown(item)" > -
+
{{ item.label }}
{{ item.text }}
diff --git a/ui/src/views/log/component/EditMarkDialog.vue b/ui/src/views/log/component/EditMarkDialog.vue index 7c80d1d73..339b1df9c 100644 --- a/ui/src/views/log/component/EditMarkDialog.vue +++ b/ui/src/views/log/component/EditMarkDialog.vue @@ -38,7 +38,7 @@ - {{ form?.content }} + {{ form?.content }}
diff --git a/ui/src/workflow/common/NodeControl.vue b/ui/src/workflow/common/NodeControl.vue index 9163b22a9..ac142691d 100644 --- a/ui/src/workflow/common/NodeControl.vue +++ b/ui/src/workflow/common/NodeControl.vue @@ -20,10 +20,10 @@ const props = defineProps({ }) function zoomIn() { - props.lf?.zoom(true) + props.lf?.zoom(true, [0, 0]) } function zoomOut() { - props.lf?.zoom(false) + props.lf?.zoom(false, [0, 0]) } function fitView() { props.lf?.resetZoom()