|
|
|
@ -34,9 +34,9 @@ Vue.use(directive)
|
|
|
|
|
Vue.prototype.$forceCloseLoading = handleForceCloseLoading
|
|
|
|
|
Vue.use(pluginPermission)
|
|
|
|
|
Vue.use(VueClipboard)
|
|
|
|
|
// if (window.location.href.indexOf('localhost') === -1 && window.location.href.indexOf('www.joineast.com') === -1) {
|
|
|
|
|
// new VConsole()
|
|
|
|
|
// }
|
|
|
|
|
if (window.location.href.indexOf('localhost') === -1 && window.location.href.indexOf('www.joineast.com') === -1) {
|
|
|
|
|
new VConsole()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Vue.prototype.$EventBus = new Vue() // 注册全局EventBus
|
|
|
|
|
Vue.prototype.$compressFile = compressFile
|
|
|
|
|