let vm = new Vue({
el:"#app",
data:{
users:[
{
name:"Murad"
},
{
name:"Maxi"
},
]
}
})
vm.users[1] = {name:"John"};
this is not work but
vm.users.splice(0,1,{name:"John"})
and after vm.users[1] = {name:"John"};
this is work Why after splice change array with index work?