xiaosi
1 year ago
3 changed files with 8 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
/** |
|||
* 事件总线(用于跨组件通信,一般用于非父子组件) |
|||
*/ |
|||
import mitt from 'mitt'; |
|||
|
|||
export default mitt(); |
Loading…
Reference in new issue