官网看生命周期图

单组件

创建时
beforeCreate
created
beforeMount
mounted
更新时
beforeUpdate
updated
销毁时
beforeDestroy
distroyed

父子组件

创建时
父beforeCreate
父created
父beforeMount
子beforeCreate
子created
子beforeMount
子mounted
父mounted
更新时
父beforeUpdate
子beforeUpdate
子updated
父updated
销毁时
父beforeDestroy
子beforeDestroy
子distroyed
父distroyed