fix: inputnumber v-model ts type (#5577)

这个命名不对再props上应该是on开头
pull/5590/head
yvh 2022-05-08 15:24:43 +08:00 committed by GitHub
parent 9673cb3a1a
commit d315b61418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export const inputNumberProps = () => ({
addonBefore: PropTypes.any,
addonAfter: PropTypes.any,
prefix: PropTypes.any,
'update:value': baseProps.onChange,
'onUpdate:value': baseProps.onChange,
valueModifiers: Object,
});