Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
feat: router可导出emitter以便外部调用
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmao88 committed Nov 1, 2023
1 parent c3a0e74 commit cc0ba04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router/src/mitt/routeChange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import type { RouteLocationNormalized } from 'vue-router'
import { getRawRoute, mitt } from '@vben/utils'

const emitter = mitt()
export const emitter = mitt()

const key = Symbol()

Expand Down

0 comments on commit cc0ba04

Please sign in to comment.