Why is the value changed and v-if is not triggered?
</button></td>
</tr></table>`,
methods:{
addInput:function(id){
this.isInput1 = true;
this.isSpan1 = false;
console.log(id);
},
addSpan:function(e){
alert(1);
},
showMsg:function(items){
console.log(items.name+":"+items.age)
}
}
});
var vm = new Vue({
el:"-sharpbox",
data:{
title:["","","",""],
arr:[
{name:"",age:"12",habit:"ok",id:"J0002"},
{name:"",age:"14",habit:"o12k",id:"J0003"},
{name:"",age:"24",habit:"aksjdkas",id:"J0004"}
],
itemId:5,
}
})