父子组件的生命周期
初始: beforeCreate created beforeMount =>挂载 --child beforeCreate --child created --child beforeMount --child mounted mounted
更新: beforeUpdate --child beforeUpdate --child updated updated
死亡: beforeDestroy --child beforeDestroy --child destroyed destroyed