import InputNumber from '../src/index' import '../assets/index.less' export default { data () { return { disabled: false, readOnly: false, value: 5, } }, methods: { onChange (value) { console.log('onChange:', value) this.value = value }, toggleDisabled () { this.disabled = !this.disabled }, toggleReadOnly () { this.readOnly = !this.readOnly }, }, render () { return (

) }, }