- 博客(1)
- 收藏
- 关注
原创 vue父子组件在不同情况下生命周期的执行顺序
挂载阶段 执行顺序为: 父beforeCreate -> 父created -> 父beforeMount -> 子beforeCreate -> 子created -> 子beforeMount -> 子mounted -> 父mounted 更新阶段 执行顺序为: 父beforeUpdate -> 子beforeUpdate -> 子updated -> 父updated 销毁阶段 执行顺序为: 父beforeDestroy ->
2022-05-20 09:53:57 301 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人