From ab98ceb85f52c5f7b87c2114997c63f1b80f216f Mon Sep 17 00:00:00 2001 From: huanlirui Date: Mon, 29 Jan 2024 15:16:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=EF=BC=8C=E5=85=BC=E5=AE=B9Form=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=ADcontentMap=E4=B8=AD=E7=B1=BB=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E6=88=96=E4=B8=8B=E6=8B=89=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=9A=84=E6=89=80=E6=9C=89=E7=BB=84=E4=BB=B6=EF=BC=8C=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E5=85=BC=E5=AE=B9=20InputNumber=20=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Form/src/Form.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Form/src/Form.vue b/src/components/Form/src/Form.vue index 00e089e..298c5b0 100644 --- a/src/components/Form/src/Form.vue +++ b/src/components/Form/src/Form.vue @@ -425,11 +425,14 @@ export default defineComponent({ } .@{elNamespace}-form--inline { - .@{elNamespace}-input { - min-width: 189.5px; + :deep(.el-form-item__content) { + & > :first-child { + min-width: 229.5px; + } } - .@{elNamespace}-select { - min-width: 189.5px; + .@{elNamespace}-input-number { + // 229.5px是兼容el-input-number的最小宽度, + min-width: 229.5px; } }