vue3生命周期函数执行顺序 一般情况下vue3生命周期函数执行顺序: 页面加载---->切换页面 onBeforeMount >> onMounted >> onBeforeUpdate >> onUpdated >> onBeforeUnmount >> onBeforeMount >> onUnmounted >> onMounted >> onBeforeUpdate >> onUpdated