From a9994970fc72736ae8690ad93e92b584eb99bab1 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 16 May 2024 17:05:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=EF=BC=9A=E6=81=A2=E5=A4=8D=20form-creat?= =?UTF-8?q?e=20[select=E3=80=81radio=E3=80=81checkbox]=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FormCreate/src/useFormCreateDesigner.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/FormCreate/src/useFormCreateDesigner.ts b/src/components/FormCreate/src/useFormCreateDesigner.ts index 69c8f314..53fee78e 100644 --- a/src/components/FormCreate/src/useFormCreateDesigner.ts +++ b/src/components/FormCreate/src/useFormCreateDesigner.ts @@ -71,9 +71,9 @@ export const useFormCreateDesigner = async (designer: Ref) => { */ const buildSystemMenu = () => { // 移除自带的下拉选择器组件,使用 currencySelectRule 替代 - designer.value?.removeMenuItem('select') - designer.value?.removeMenuItem('radio') - designer.value?.removeMenuItem('checkbox') + // designer.value?.removeMenuItem('select') + // designer.value?.removeMenuItem('radio') + // designer.value?.removeMenuItem('checkbox') const components = [userSelectRule, deptSelectRule, dictSelectRule, apiSelectRule0] const menu: Menu = { name: 'system', From c2b439c463774e1c32ef74772f169643d7e0ff33 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 18 May 2024 19:50:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91AI?= =?UTF-8?q?=EF=BC=9A=E8=81=8A=E5=A4=A9=E8=A7=92=E8=89=B2=E7=9A=84=E6=B8=A9?= =?UTF-8?q?=E5=BA=A6=E3=80=81token=20=E6=95=B0=E7=9A=84=20input-number=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai/model/chatModel/ChatModelForm.vue | 22 +++++- src/views/ai/model/chatRole/ChatRoleForm.vue | 69 ++++++++----------- 2 files changed, 46 insertions(+), 45 deletions(-) diff --git a/src/views/ai/model/chatModel/ChatModelForm.vue b/src/views/ai/model/chatModel/ChatModelForm.vue index cac3f772..e3f785c0 100644 --- a/src/views/ai/model/chatModel/ChatModelForm.vue +++ b/src/views/ai/model/chatModel/ChatModelForm.vue @@ -48,13 +48,29 @@ - + - + - +