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 = {
2929 onPressEnter : {
3030 type : Function as PropType < EventHandlerNonNull > ,
3131 } ,
32+ onChange : Function as PropType < ( num : number ) => void > ,
3233} ;
3334
3435const InputNumber = defineComponent ( {
@@ -78,14 +79,14 @@ const InputNumber = defineComponent({
7879 const upIcon = < UpOutlined class = { `${ prefixCls } -handler-up-inner` } /> ;
7980 const downIcon = < DownOutlined class = { `${ prefixCls } -handler-down-inner` } /> ;
8081
81- const vcInputNumberprops = {
82+ const vcInputNumberProps = {
8283 prefixCls,
8384 upHandler : upIcon ,
8485 downHandler : downIcon ,
8586 ...others ,
8687 class : inputNumberClass ,
8788 } ;
88- return < VcInputNumber { ...vcInputNumberprops } ref = "inputNumberRef" /> ;
89+ return < VcInputNumber { ...vcInputNumberProps } ref = "inputNumberRef" /> ;
8990 } ,
9091} ) ;
9192
You can’t perform that action at this time.
0 commit comments