将closeThisPage方法从global迁移到utils

This commit is contained in:
piexlmax
2022-05-26 10:26:11 +08:00
parent ccf0769f43
commit 35255fdaee
2 changed files with 5 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
import { emitter } from '@/utils/bus.js'
export const closeThisPage = () => {
emitter.emit('closeThisPage')
}