diff --git a/src/components/composites/extract/index.tsx b/src/components/composites/extract/index.tsx index 40ed092..cd00256 100644 --- a/src/components/composites/extract/index.tsx +++ b/src/components/composites/extract/index.tsx @@ -270,20 +270,50 @@ const FormFields = memo(() => { {/* 提取数量 */} - + {({id, field}) => ( - { - const value = Math.max(1, Number(e.target.value)) - field.onChange(value) - }} - className="h-10" - placeholder="输入提取数量" - /> +
+ {/* 减号按钮:移动端显示,步长1,最小1 */} + + + {/* 数量输入框 */} + { + const value = Math.max(1, Number(e.target.value) || 1) + field.onChange(value) + }} + /> + + {/* 加号按钮:移动端显示,步长1 */} + +
)}