写点什么

event bus

0 人感兴趣 · 1 次引用

  • 最新
  • 推荐

vue2 升级 vue3: Event Bus 替代方案

用户头像
zhoulujun
2022-06-21

Vue3 removed $on, $off and $once methods from the instance completely $emit is still a part of the existing API as it s used to trigger event handlers declaratively attached by a parent component

event bus_event bus技术文章_InfoQ写作社区