<div id="itany">
<div>{{items}}</div>
</div>
<script>
var vmvm = new Vue({
el:"-sharpitany",
data:{
count:0,
items:[1,2,3,4,5]
},
watch:{
"items":{
handler(newValue,oldValue){
console.log(newValue)
},
deep:true
}
}
});
console.log(vmvm.items[0]);
vmvm.items[0] = 200;
</script>
excuse me, why is console.log () not executed, but if there are objects in the array, it can be printed out?