src/main.js
@@ -12,6 +12,7 @@ import 'element-ui/lib/theme-chalk/index.css'; Vue.prototype.$echarts = echarts; import * as echarts from 'echarts'; import drag from './JS/drag'; Vue.use(ElementUI, { locale }); Vue.prototype.$http = axios; Vue.prototype.$bus = new Vue();