vue3 destroyed 被弃用 (The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead vue/no-deprecated-destroyed-lifecycle)

异常

The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead  vue/no-deprecated-destroyed-lifecycle
destroyed 生命周期选项被重命名为 unmounted
beforeDestroy 生命周期选项被重命名为 beforeUnmount

 

vue3 destroyed 被弃用 (The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead vue/no-deprecated-destroyed-lifecycle)

上一篇:剑指 Offer 61. 扑克牌中的顺子


下一篇:配置Tomcat的虚拟主机