vue2升级vue3: Event Bus 替代方案
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
原创
2022-06-21 20:28:22 ·
446 阅读 ·
0 评论