From dcccef1c026729cde8d3f48d4e15fbfb801eca50 Mon Sep 17 00:00:00 2001 From: XuZhiqiang Date: Wed, 13 May 2026 15:47:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(@vben/web-antdv-next):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20InputNumber=20=E7=BB=84=E4=BB=B6=E5=AE=BD=E5=BA=A6=E5=9C=A8?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=B8=AD=E4=B8=8D=E5=8D=A0=E6=BB=A1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antdv-next/src/adapter/component/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web-antdv-next/src/adapter/component/index.ts b/apps/web-antdv-next/src/adapter/component/index.ts index be390f885..a447db1d0 100644 --- a/apps/web-antdv-next/src/adapter/component/index.ts +++ b/apps/web-antdv-next/src/adapter/component/index.ts @@ -708,7 +708,9 @@ async function initComponentAdapter() { modelValueProp: 'value', }), Input: withDefaultPlaceholder(Input, 'input'), - InputNumber: withDefaultPlaceholder(InputNumber, 'input'), + InputNumber: withDefaultPlaceholder(InputNumber, 'input', { + style: { width: '100%' }, + }), InputPassword: withDefaultPlaceholder(InputPassword, 'input'), Mentions: withDefaultPlaceholder(Mentions, 'input'), // 自定义主要按钮