Skip to content

何时需要使用 beforeDestory ?

生命周期

  • 解绑自定义事件 event.$off
  • 清理定时器
  • 解绑自定义的 DOM 事件,如 window scroll 等

https://lzwdot.com/docs/26831

基于 MIT 许可发布