fix(@vben/web-antdv-next): 修复 InputNumber 组件宽度在表单中不占满的问题

pull/343/head
XuZhiqiang 2026-05-13 15:47:52 +08:00
parent 9a5bee4dce
commit dcccef1c02
1 changed files with 3 additions and 1 deletions

View File

@ -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'),
// 自定义主要按钮