From c52abd04233837746c90a2b69cf3a64bd4c4a855 Mon Sep 17 00:00:00 2001 From: baiqi Date: Tue, 23 Apr 2024 15:54:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(form-create):=20ms-form-create=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=BF=85=E5=A1=AB=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pure/ms-form-create/formCreate.vue | 58 +++++-------------- .../menuManagement/components/defectSync.vue | 5 -- .../menuManagement/components/relatedCase.vue | 6 -- .../template/components/detail.vue | 2 - .../template/components/addTemplate.vue | 9 +-- .../template/components/viewTemplate.vue | 3 - 6 files changed, 18 insertions(+), 65 deletions(-) diff --git a/frontend/src/components/pure/ms-form-create/formCreate.vue b/frontend/src/components/pure/ms-form-create/formCreate.vue index ed54aaef81..fc4c0293cd 100644 --- a/frontend/src/components/pure/ms-form-create/formCreate.vue +++ b/frontend/src/components/pure/ms-form-create/formCreate.vue @@ -1,6 +1,6 @@ diff --git a/frontend/src/views/setting/organization/template/components/addTemplate.vue b/frontend/src/views/setting/organization/template/components/addTemplate.vue index bf3bc409f9..fe6f26473a 100644 --- a/frontend/src/views/setting/organization/template/components/addTemplate.vue +++ b/frontend/src/views/setting/organization/template/components/addTemplate.vue @@ -132,7 +132,6 @@ v-model:rule="formItem.formRules" :option="configOptions" @click="activeHandler(index)" - @change="(value, formApi) => changeHandler(value, formApi)" /> ([]); - const selectedIds = ref(); // 编辑更新已选择字段 const isEditField = ref(false); @@ -634,6 +630,7 @@ selectData.value = getSelectData(customFields); systemFieldData.value = systemFields; } catch (error) { + // eslint-disable-next-line no-console console.log(error); } finally { loading.value = false; diff --git a/frontend/src/views/setting/organization/template/components/viewTemplate.vue b/frontend/src/views/setting/organization/template/components/viewTemplate.vue index 04d2d98b68..26a7ed1fc7 100644 --- a/frontend/src/views/setting/organization/template/components/viewTemplate.vue +++ b/frontend/src/views/setting/organization/template/components/viewTemplate.vue @@ -127,7 +127,6 @@ width: 428px; } } - :deep(.arco-picker-disabled) { border-color: var(--color-text-n8); background: var(--color-text-n8); @@ -136,11 +135,9 @@ background: var(--color-text-n8); } } - :deep(.arco-form-item-layout-vertical > .arco-form-item-label-col) { overflow-wrap: break-word; } - :deep(.arco-form-item-content) { overflow-wrap: anywhere; }