隐藏页面vsconsole

赵夫琳 8 months ago
parent 20d4a10e4b
commit 04dade7960

@ -3,7 +3,7 @@ import App from './App.vue'
import router from './router' import router from './router'
import store from './store' import store from './store'
import Vant from 'vant' import Vant from 'vant'
import VConsole from "vconsole" // import VConsole from "vconsole"
import { setLocalStorage, compressFile } from '@/utils' import { setLocalStorage, compressFile } from '@/utils'
import msgAlert, { handleForceCloseLoading } from './plugin/msgAlert' import msgAlert, { handleForceCloseLoading } from './plugin/msgAlert'
import pluginPermission from '@/plugin/permission' import pluginPermission from '@/plugin/permission'
@ -34,9 +34,9 @@ Vue.use(directive)
Vue.prototype.$forceCloseLoading = handleForceCloseLoading Vue.prototype.$forceCloseLoading = handleForceCloseLoading
Vue.use(pluginPermission) Vue.use(pluginPermission)
Vue.use(VueClipboard) Vue.use(VueClipboard)
if (window.location.href.indexOf('localhost') === -1 && window.location.href.indexOf('www.joineast.com') === -1) { // if (window.location.href.indexOf('localhost') === -1 && window.location.href.indexOf('www.joineast.com') === -1) {
new VConsole() // new VConsole()
} // }
Vue.prototype.$EventBus = new Vue() // 注册全局EventBus Vue.prototype.$EventBus = new Vue() // 注册全局EventBus
Vue.prototype.$compressFile = compressFile Vue.prototype.$compressFile = compressFile

Loading…
Cancel
Save