diff --git a/src/main.js b/src/main.js index db7e663..0e5a3e1 100644 --- a/src/main.js +++ b/src/main.js @@ -4,7 +4,6 @@ import ElementUI from 'element-ui'; import HighchartsVue from 'highcharts-vue' import highcharts from 'highcharts' import highcharts3d from 'highcharts/highcharts-3d' -highcharts3d(highcharts) import 'element-ui/lib/theme-chalk/index.css'; import router from './router' import store from './store' @@ -28,6 +27,8 @@ import gChart from '@/loveflow/components/echart/chart.vue' import * as echarts from "echarts"; Vue.prototype.$echarts = echarts; +highcharts3d(highcharts) + Vue.prototype.$rules = cusRule registerPlugins(Vue)