地图选点

This commit is contained in:
yanran200730
2022-03-09 13:48:22 +08:00
parent 65270c3c81
commit 5d707cb333
4 changed files with 168 additions and 22 deletions

View File

@@ -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()
}
}