|
|
@ -1,6 +1,7 @@ |
|
|
|
import Vue from 'vue' |
|
|
|
import App from './App.vue' |
|
|
|
import router from './router' |
|
|
|
import VueAMap from 'vue-amap' |
|
|
|
import './plugins/element.js' |
|
|
|
import './assets/css/global.css' |
|
|
|
import './assets/ali-icon/iconfont.css' |
|
|
@ -27,6 +28,13 @@ Vue.prototype.$http = axios |
|
|
|
/* 将富文本编辑器注册为全局可用的组件 */ |
|
|
|
Vue.use(VueQuillEditor) |
|
|
|
|
|
|
|
Vue.use(VueAMap); |
|
|
|
// VueAMap.initAMapApiLoader({
|
|
|
|
// key: '你自己的key!!!',
|
|
|
|
// plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor','AMap.Geocoder','AMap.Geolocation','AMap.MarkerClusterer'],
|
|
|
|
// // 默认高德 sdk 版本为 1.4.4
|
|
|
|
// v: '1.4.4'
|
|
|
|
// });
|
|
|
|
Vue.config.productionTip = false |
|
|
|
|
|
|
|
new Vue({ |
|
|
|