|
@@ -7,11 +7,13 @@ import 'element-ui/lib/theme-chalk/index.css';
|
|
|
import 'font-awesome/css/font-awesome.css'
|
|
|
import api from './api';
|
|
|
import echarts from 'echarts';
|
|
|
-import 'echarts/theme/dark.js'
|
|
|
+import 'echarts/theme/dark.js'
|
|
|
import BaiduMap from 'vue-baidu-map'
|
|
|
Vue.use(BaiduMap, {
|
|
|
- ak: '1hqg34NFaCw9jcv0xG82cI7uINFaXGGM'
|
|
|
+ ak: '1hqg34NFaCw9jcv0xG82cI7uINFaXGGM'
|
|
|
})
|
|
|
+import Vue2OrgTree from 'vue2-org-tree'
|
|
|
+Vue.use(Vue2OrgTree)
|
|
|
|
|
|
Vue.use(ElementUI);
|
|
|
Vue.prototype.$echarts = echarts
|
|
@@ -20,9 +22,7 @@ Vue.prototype.store = store;
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
new Vue({
|
|
|
- router,
|
|
|
- store,
|
|
|
- render: h => h(App)
|
|
|
-}).$mount('#app')
|
|
|
-
|
|
|
-
|
|
|
+ router,
|
|
|
+ store,
|
|
|
+ render: h => h(App)
|
|
|
+}).$mount('#app')
|