// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import store from './store' import './utils/elementConfig' import './utils/permission' import './style/index.less' import '@/icons' import VConsole from 'vconsole' import VueCookie from 'vue-cookies' import { debounce, departGetForm, personlGetForm, handleInput, messageSuccess, loading, loadingClose } from '@/utils/common' import { format } from '@/utils/dateFormat' // } // let hostList = ['lzmanagement.ldxinyong.com'] // if (!hostList.includes(window.location.host)) { var vConsole = new VConsole({ vConsole_switch_x: 0, vConsole_switch_y: 0 }) Vue.use(VueCookie) Vue.config.productionTip = false Vue.prototype.$loadingStart = loading Vue.prototype.$loadingEnd = loadingClose Vue.prototype.$format = format Vue.prototype.debounce = debounce Vue.prototype.$personlGetForm = personlGetForm Vue.prototype.$departGetForm = departGetForm Vue.prototype.$handleInputInt = handleInput Vue.prototype.$msg = messageSuccess /* eslint-disable no-new */ new Vue({ el: '#app', router, store, components: { App }, template: '' })