destroyed 不是变成 onUnmounted了吗?
来源:6-4 vue3 和 vue2 的生命周期有什么区别
草莓大战
2021-03-09
beforeDestroy 变成了 onBeforeUnmount
写回答
1回答
-
双越
2021-03-09
https://v3.cn.vuejs.org/guide/instance.html#%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E5%9B%BE%E7%A4%BA
看文档不是的,是 beforeUnmount 和 unMounted
00
相似问题