export default {
name: "areaCascade",
props: {
formItem: {
type: Object,
required: true
}
},
//此处监听需要设置deep为true
watch:{
formItem:{
handler() {
this.formItem...
},
deep: true
}
},
Vue子组件监听父页面传来的值
最新推荐文章于 2023-03-06 20:55:20 发布