|
|
|
@ -24,6 +24,7 @@ import selectDiv from '@/views/common/selectDiv.vue' |
|
|
|
import {resetForm} from "./utils/system"; |
|
|
|
import echarts from "echarts"; |
|
|
|
import highlightContainer from './utils/highlight'; |
|
|
|
import field from './utils/field'; |
|
|
|
import 'element-ui/lib/theme-chalk/divider.css' |
|
|
|
Vue.prototype.$echarts = echarts; |
|
|
|
|
|
|
|
@ -33,6 +34,7 @@ Vue.use(VueCookie) |
|
|
|
Vue.config.productionTip = false |
|
|
|
Vue.component('selectDiv', selectDiv); |
|
|
|
Vue.directive('highlight-container', highlightContainer); |
|
|
|
Vue.directive('field', field); |
|
|
|
// 非生产环境, 适配mockjs模拟数据 // api: https://github.com/nuysoft/Mock
|
|
|
|
if (process.env.NODE_ENV !== 'production') { |
|
|
|
require('@/mock') |
|
|
|
|