import InputNumber from '../src/index'; import '../assets/index.less'; export default { data() { return { precision: 2, }; }, methods: { onChange(value) { console.log('onChange:', value); this.value = value; }, changeprecision(e) { this.precision = parseInt(e.target.value, 10); }, }, render() { return (

precision:

); }, };