// 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 Mixin from './mixins/gload' import router from './router' import store from './store' import './utils/elementConfig' import './utils/permission' import './style/index.less' import '@/icons' import _ from 'lodash' import VueCookie from 'vue-cookies' import { debounce, departGetForm, personlGetForm, handleInput, messageSuccess, loading, loadingClose, handleBlur } from '@/utils/common' import { format } from '@/utils/dateFormat' Vue.prototype._ = _ Vue.mixin(Mixin) 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.$handleBlur = handleBlur Vue.prototype.$msg = messageSuccess /* eslint-disable no-new */ new Vue({ el: '#app', router, store, components: { App }, template: '' })