今天,我使用了MutationObserver
什么是MutationObserver(https://link.segmentfault.com/?encRsZSwkJGeuGpPL9IaaFplg%3D%3D.KeiZasCnPo46icpp4UiYVbca00MiOUmpTd4YAzgiKgYmLZ7DWVoM6fEUSTT4JSBT
什么是MutationObserver(https://link.segmentfault.com/?encRsZSwkJGeuGpPL9IaaFplg%3D%3D.KeiZasCnPo46icpp4UiYVbca00MiOUmpTd4YAzgiKgYmLZ7DWVoM6fEUSTT4JSBT
1.组件通信、传值父组件>子组件:属性props<pre<code//childprops:{msg:String}//parent<Hellomsg&34;WelcometoYourVue.js