Commit fefaf67f by 前端

修复地图版本号

1 parent 74e9eed3
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
}, },
async created() { async created() {
let _this = this; let _this = this;
_this.$mapInit({ version: "1.0.11" }).then((AMap) => { _this.$mapInit({ version: "1.4.2" }).then((AMap) => {
_this.initMap(); _this.initMap();
}); });
}, },
......
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
created() { created() {
console.log(history.state); console.log(history.state);
let _this = this; let _this = this;
_this.$mapInit({ version: "1.0.11" }).then((AMap) => { _this.$mapInit({ }).then((AMap) => {
_this.initMap(); _this.initMap();
}); });
}, },
......
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
}, },
created() { created() {
let _this = this; let _this = this;
_this.$mapInit({ version: "1.0.11" }).then((AMap) => { _this.$mapInit({ version: "1.4.2" }).then((AMap) => {
_this.initMap(); _this.initMap();
}); });
//this.keyupSubmit(); //this.keyupSubmit();
......
...@@ -541,7 +541,7 @@ export default { ...@@ -541,7 +541,7 @@ export default {
}, },
created() { created() {
let _this = this; let _this = this;
_this.$mapInit({ version: "1.0.11" }).then((AMap) => { _this.$mapInit({ version: "1.4.2" }).then((AMap) => {
_this.initMap(); _this.initMap();
}); });
EventBus.$on("uiMap.fence.loading", (isLoading) => { EventBus.$on("uiMap.fence.loading", (isLoading) => {
......
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
}, },
initMap() { initMap() {
let _this = this; let _this = this;
_this.$mapInit({ version: "1.0.11" }).then((AMap) => { _this.$mapInit({ version: "1.4.2" }).then((AMap) => {
window.AMap = AMap; window.AMap = AMap;
_this.mapObj = mapService.init("mapContainer"); _this.mapObj = mapService.init("mapContainer");
_this.bindSearch(); _this.bindSearch();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!