diff --git a/src/components/AiTMap.vue b/src/components/AiTMap.vue index 16441275..27605fbc 100644 --- a/src/components/AiTMap.vue +++ b/src/components/AiTMap.vue @@ -61,9 +61,9 @@ export default { center: new TMap.LatLng(latLng.lat, latLng.lng), ...this.ops }) - this.$emit('loaded') this.$emit('update:lib', TMap) this.$emit('update:map', this.tmap) + this.$emit('loaded') this.areaId && this.getMapArea() } else { //上架版 uni.getLocation({ @@ -80,9 +80,9 @@ export default { center: new TMap.LatLng(latLng.lat, latLng.lng), ...this.ops }) - this.$emit('loaded') this.$emit('update:lib', TMap) this.$emit('update:map', this.tmap) + this.$emit('loaded') this.areaId && this.getMapArea() } } diff --git a/src/manifest.json b/src/manifest.json index e90ba4f7..837207cd 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -41,6 +41,15 @@ "pathRewrite": { "^/online": "/" } + }, + "/tmap": { + "target": "https://apis.map.qq.com", + "changeOrigin": true, + "secure": false, + "ws": true, + "pathRewrite": { + "^/tmap": "" + } } } }, @@ -58,4 +67,4 @@ } } } -} +} \ No newline at end of file diff --git a/src/saas/AppCountryAlbum/ChooseAddess.vue b/src/saas/AppCountryAlbum/ChooseAddess.vue index 42e73980..42bb2ff0 100644 --- a/src/saas/AppCountryAlbum/ChooseAddess.vue +++ b/src/saas/AppCountryAlbum/ChooseAddess.vue @@ -1,6 +1,11 @@