data里面有set,get,watch,
数据的改变是异步操作
watch的深度监听,第一层的属性:{
deep:true,
handler(){}
console.log(333)
}
watch
immediate:true,
data里面有set,get,watch,
数据的改变是异步操作
watch的深度监听,第一层的属性:{
deep:true,
handler(){}
console.log(333)
}
watch
immediate:true,
相关文章: