From ed8cffb2a186c9436a3aeeee755190116d43cc99 Mon Sep 17 00:00:00 2001 From: luocong2016 Date: Mon, 27 Feb 2023 12:50:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=84=E4=BB=B6=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E4=BC=98=E5=85=88=E9=BB=98=E8=AE=A4=20(#2581)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Form/src/components/FormItem.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Form/src/components/FormItem.vue b/src/components/Form/src/components/FormItem.vue index 8ce579ab..2142364c 100644 --- a/src/components/Form/src/components/FormItem.vue +++ b/src/components/Form/src/components/FormItem.vue @@ -80,10 +80,14 @@ componentProps = componentProps({ schema, tableAction, formModel, formActionType }) ?? {}; } if (schema.component === 'Divider') { - componentProps = Object.assign({ type: 'horizontal' }, componentProps, { - orientation: 'left', - plain: true, - }); + componentProps = Object.assign( + { type: 'horizontal' }, + { + orientation: 'left', + plain: true, + }, + componentProps, + ); } return componentProps as Recordable; }); -- GitLab