3👍
✅
You could know that array is empty by checking its length:
methods: {
addRange(){
if(this.inputs.length===0){
this.inputs.push({
rangField: '',
})
}
},
}
Source:stackexchange.com