VUE3父子组件的生命周期 直接上例子: <template> <div> <Header/> <router-view/> </div> </template> beforeCreate created beforeMount HEADER- beforeCreate HEADE