<div v-model="form"></div>
data(){
return{
form:[],
}
}
form: {
handler(newName, oldName) {
console.log(this.Form)
},
immediate: true,
deep:true, //深度监听,监测的是对象或多维数组时候用
},
<div v-model="form"></div>
data(){
return{
form:[],
}
}
form: {
handler(newName, oldName) {
console.log(this.Form)
},
immediate: true,
deep:true, //深度监听,监测的是对象或多维数组时候用
},