fix:mitt完成公告同步

This commit is contained in:
宋文超
2022-11-28 12:46:39 +08:00
parent f85ee37ca0
commit ec9b277609
5 changed files with 26 additions and 0 deletions

6
src/utils/bus.js Normal file
View File

@@ -0,0 +1,6 @@
//用于公告和公告历史兄弟组件
import mitt from "mitt";
const emitter = mitt()
export default emitter