@hook:created="listenCreated" @hook:mounted="listenMounted"
父组件:
子组件:
效果:
父组件监听子组件生命周期
原文:https://www.cnblogs.com/zsxblog/p/15213744.html