From 906ec28f1ff2248a4de284eceb0792797e2857e4 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 14 Nov 2024 15:26:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E5=B0=BA=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/index.vue | 18 +++++++-- .../component/XPackDisplaySettingDialog.vue | 7 +++- ui/src/views/application-overview/index.vue | 38 ++++++++++--------- ui/src/views/application-workflow/index.vue | 7 +++- .../views/application/ApplicationSetting.vue | 6 ++- ui/src/views/application/index.vue | 9 ++++- ui/src/views/chat/auth/index.vue | 7 +++- ui/src/views/chat/base/index.vue | 7 +++- ui/src/views/chat/embed/index.vue | 7 +++- ui/src/views/chat/pc/index.vue | 7 +++- ui/src/views/dataset/DatasetSetting.vue | 7 +++- 11 files changed, 90 insertions(+), 30 deletions(-) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 6dcd9dfd1b2..e792d6b2884 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -40,8 +40,14 @@
- - + +
@@ -96,7 +102,13 @@
- +
diff --git a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue index b28507d232b..83e2910c9cc 100644 --- a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue +++ b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue @@ -36,7 +36,12 @@ :size="32" style="background: none" > - + - + v.id === 'base-node') .map((v: any) => { apiInputParams.value = v.properties.api_input_field_list - ? v.properties.api_input_field_list - .map((v: any) => { - return { - name: v.variable, - value: v.default_value - } - }) + ? v.properties.api_input_field_list.map((v: any) => { + return { + name: v.variable, + value: v.default_value + } + }) : v.properties.input_field_list - ? v.properties.input_field_list - .filter((v: any) => v.assignment_method === 'api_input') - .map((v: any) => { - return { - name: v.variable, - value: v.default_value - } - }) - : [] + ? v.properties.input_field_list + .filter((v: any) => v.assignment_method === 'api_input') + .map((v: any) => { + return { + name: v.variable, + value: v.default_value + } + }) + : [] }) }) } diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index 75ea0af4141..5df4f22970f 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -90,7 +90,12 @@ :size="32" style="background: none" > - + - + - + { window.open('https://maxkb.cn/pricing.html', '_blank') diff --git a/ui/src/views/chat/auth/index.vue b/ui/src/views/chat/auth/index.vue index e9d346867d5..fd4e93671f0 100644 --- a/ui/src/views/chat/auth/index.vue +++ b/ui/src/views/chat/auth/index.vue @@ -8,7 +8,12 @@ :size="32" style="background: none" > - + - + - + - + - +