Vue(六)

·  阅读 64

Vue3生命周期

配置项生命周期
beforCreate
created
beforeMount
mouted
beforeUpdate
updated
beforeUnmount
unmounted


setup配置里的生命周期

onBeforeMount(()=>{})
onMouted
onBeforeUpdate
onUpdated
onBeforeUnmount
onUnmounted
复制代码
分类:
前端
标签:
收藏成功!
已添加到「」, 点击更改