File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ const InputNumberProps = {
29
29
onPressEnter : {
30
30
type : Function as PropType < EventHandlerNonNull > ,
31
31
} ,
32
+ onChange : Function as PropType < ( num : number ) => void > ,
32
33
} ;
33
34
34
35
const InputNumber = defineComponent ( {
@@ -78,14 +79,14 @@ const InputNumber = defineComponent({
78
79
const upIcon = < UpOutlined class = { `${ prefixCls } -handler-up-inner` } /> ;
79
80
const downIcon = < DownOutlined class = { `${ prefixCls } -handler-down-inner` } /> ;
80
81
81
- const vcInputNumberprops = {
82
+ const vcInputNumberProps = {
82
83
prefixCls,
83
84
upHandler : upIcon ,
84
85
downHandler : downIcon ,
85
86
...others ,
86
87
class : inputNumberClass ,
87
88
} ;
88
- return < VcInputNumber { ...vcInputNumberprops } ref = "inputNumberRef" /> ;
89
+ return < VcInputNumber { ...vcInputNumberProps } ref = "inputNumberRef" /> ;
89
90
} ,
90
91
} ) ;
91
92
You can’t perform that action at this time.
0 commit comments