12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import Vue from 'vue'
- import App from './App.vue'
- import router from './route/index'
- import store from './store/index'
- import axios from './axios/index'
- import ViewUI from 'view-design';
- import 'view-design/dist/styles/iview.css';
- import untilFn from './untils/until'
- import "./untils/filter";
- import IconFont from './assets/iconfont/iconfont.js'
- import echarts from 'echarts'
- import Viewer from 'v-viewer'
- import components from '@/untils/components'
- import 'viewerjs/dist/viewer.css'
- import 'xe-utils'
- import VXETable from 'vxe-table'
- import VXETablePluginIView from 'vxe-table-plugin-iview'
- import 'vxe-table-plugin-iview/dist/style.css'
- import 'vxe-table/lib/style.css'
- import ElementUI from 'element-ui';
- import 'element-ui/lib/theme-chalk/index.css';
- import Print from '@/plugs/print';
- import 'lib-flexible'
- Vue.use(ElementUI);
- Vue.use(Print)
- Vue.use(VXETable)
- VXETable.use(VXETablePluginIView)
- Vue.use(Viewer);
- Viewer.setDefaults({
- Options: {
- "inline": true,
- "button": true,
- "navbar": true,
- "title": true,
- "toolbar": true,
- "tooltip": true,
- "movable": true,
- "zoomable": true,
- "rotatable": true,
- "scalable": true,
- "transition": true,
- "fullscreen": true,
- "keyboard": true,
- "url": "data-source"
- }
- });
- Vue.use(ViewUI)
- Vue.use(IconFont)
- Vue.use(components)
- Vue.prototype.axios = axios
- Vue.prototype.func = untilFn //全局引入自定义函数库
- Vue.config.productionTip = false
- Vue.prototype.$echarts = echarts
- Vue.prototype.$Message.config({ //全局提示演示关闭时间
- duration: 3
- });
- new Vue({
- router,
- store,
- render: h => h(App),
- }).$mount('#app')
|