点击第一次的时候,子组件watch可以监听到,如果多次点击,watch就无法监听了,加了deep属性也不好用,请教怎么办 import ChildComponent from './ChildComponent.vue'; export default { components: { ChildComponent }, data() { return { data: null }; }, mounted() { } };
阅读量:135
点赞量:0