|
@@ -0,0 +1,11 @@
|
|
|
|
+import config from './config'
|
|
|
|
+import { emitter } from '@/utils/bus.js'
|
|
|
|
+
|
|
|
|
+const closeThisPage = () => {
|
|
|
|
+ emitter.emit('closeThisPage')
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export const register = (app) => {
|
|
|
|
+ app.config.globalProperties.$GIN_VUE_ADMIN = config
|
|
|
|
+ app.config.globalProperties.$CloseThisPage = closeThisPage
|
|
|
|
+}
|