<template>
<InputNumber :max="10" :min="1" v-model="value1"></InputNumber>
</template>
<script>
export default {
data () {
return {
value1: 1
}
}
}
</script>
typing-1 in this official instance automatically becomes 1, but copying this code to the actual page has no such effect. It only becomes 1
when you lose focus.