From 78493e8f6dbe41e76cdca0c7a2d44df558e8d469 Mon Sep 17 00:00:00 2001 From: gaoyunqi Date: Mon, 20 May 2024 15:25:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=98=8E=E7=BB=86=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E4=B8=8B=E6=8B=89=E6=A1=86=E6=94=AF=E6=8C=81label?= =?UTF-8?q?=E3=80=81value=E5=88=86=E5=BC=80=E5=AD=98=E5=82=A8=E4=BB=A5?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E9=A6=96=E6=AC=A1=E6=B8=B2=E6=9F=93=E6=80=A7?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Designer/src/types/index.ts | 1 + src/components/Select/src/Select.vue | 526 +++++++++++---------- src/hooks/web/useWorkFlowForm.ts | 2 +- 3 files changed, 268 insertions(+), 261 deletions(-) diff --git a/src/components/Designer/src/types/index.ts b/src/components/Designer/src/types/index.ts index 732236b..a8a9316 100644 --- a/src/components/Designer/src/types/index.ts +++ b/src/components/Designer/src/types/index.ts @@ -242,6 +242,7 @@ export const advanceComponents = [ responsive: false, respNewRow: false, placeholder: t('请选择下拉选择'), + sepTextField: '', showLabel: true, showSearch: false, clearable: false, diff --git a/src/components/Select/src/Select.vue b/src/components/Select/src/Select.vue index e65cf4a..24b7438 100644 --- a/src/components/Select/src/Select.vue +++ b/src/components/Select/src/Select.vue @@ -1,274 +1,280 @@ diff --git a/src/hooks/web/useWorkFlowForm.ts b/src/hooks/web/useWorkFlowForm.ts index f223a8e..1efcb51 100644 --- a/src/hooks/web/useWorkFlowForm.ts +++ b/src/hooks/web/useWorkFlowForm.ts @@ -146,7 +146,7 @@ function schemeList( if (isViewProcess) { schema.dynamicDisabled = true; } - if ((permissionConfig.children || []).find((item) => item.fieldId === '_row_ctrl_' && !item.edit)) { + if ((permissionConfig?.children || []).find((item) => item.fieldId === '_row_ctrl_' && !item.edit)) { schema.componentProps.disableAddRow = true; } if (!permissionConfig?.view) {