From e9db3a598c0d9d2ebf9f85e1afd59f64a6d8ffcf Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Tue, 28 Oct 2025 15:11:04 +0800
Subject: [PATCH] feat: add generate prompt button and improve code formatting
in index.vue
---
.../workflow/nodes/image-understand/index.vue | 73 +++++++++++++------
.../workflow/nodes/video-understand/index.vue | 73 +++++++++++++------
2 files changed, 98 insertions(+), 48 deletions(-)
diff --git a/ui/src/workflow/nodes/image-understand/index.vue b/ui/src/workflow/nodes/image-understand/index.vue
index e1abe83b0..2da2fb0c6 100644
--- a/ui/src/workflow/nodes/image-understand/index.vue
+++ b/ui/src/workflow/nodes/image-understand/index.vue
@@ -26,7 +26,8 @@
{{ t('views.applicationWorkflow.nodes.imageUnderstandNode.model.label')
+ >{{
+ t('views.applicationWorkflow.nodes.imageUnderstandNode.model.label')
}}*
@@ -68,6 +69,14 @@
+
+
+
{{ $t('views.application.form.prompt.label')
+ >{{
+ $t('views.application.form.prompt.label')
}}*
- {{ $t('views.application.form.prompt.tooltip') }}
+ {{ $t('views.application.form.prompt.tooltip') }}
@@ -115,8 +125,8 @@
{{ $t('views.application.form.historyRecord.label') }}
-
-
+
+
@@ -142,7 +152,8 @@
}"
>
{{ $t('views.applicationWorkflow.nodes.imageUnderstandNode.image.label')
+ >{{
+ $t('views.applicationWorkflow.nodes.imageUnderstandNode.image.label')
}}*
{{
- $t('views.applicationWorkflow.nodes.aiChatNode.returnContent.label')
- }}
+ $t('views.applicationWorkflow.nodes.aiChatNode.returnContent.label')
+ }}
@@ -174,29 +185,32 @@
-
+
-
+
+