fori,
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<div id="vue">
<input type="number" @keydown="tonum" @keyup="tonum" min="0">
</div>
<script>
var vue = new Vue({
el: '#vue',
data: {
},
methods: {
tonum(event) {
if(/^0$/.test(event.target.value) && event.keyCode == 48) event.preventDefault();
if(/^0\d+/.test(event.target.value)) event.target.value = +event.target.value;
if([187, 189,69].includes(event.keyCode)) event.preventDefault();
}
}
})
</script>