fix: 修复 InputNumber 组件宽度在表单中不占满的问题

master^2
xingyu4j 2026-05-18 16:25:49 +08:00
parent 4554cd016a
commit 9bb2026b4d
1 changed files with 3 additions and 1 deletions

View File

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