From 9bb2026b4de663bb661efe1e1518500742344dac Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Mon, 18 May 2026 16:25:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20InputNumber=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=AE=BD=E5=BA=A6=E5=9C=A8=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E4=B8=8D=E5=8D=A0=E6=BB=A1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/src/adapter/component/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playground/src/adapter/component/index.ts b/playground/src/adapter/component/index.ts index 2cd9fada..41209a18 100644 --- a/playground/src/adapter/component/index.ts +++ b/playground/src/adapter/component/index.ts @@ -727,7 +727,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'), // 自定义主要按钮