Skip to content

Commit d315b61

Browse files
authored
fix: inputnumber v-model ts type (#5577)
这个命名不对再props上应该是on开头
1 parent 9673cb3 commit d315b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/input-number/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const inputNumberProps = () => ({
2323
addonBefore: PropTypes.any,
2424
addonAfter: PropTypes.any,
2525
prefix: PropTypes.any,
26-
'update:value': baseProps.onChange,
26+
'onUpdate:value': baseProps.onChange,
2727
valueModifiers: Object,
2828
});
2929

0 commit comments

Comments
 (0)