BUG 30044

This commit is contained in:
aixianling
2022-06-07 17:46:19 +08:00
parent 70e1337980
commit 0b89f4c0a1
2 changed files with 7 additions and 6 deletions

View File

@@ -118,7 +118,6 @@ export default {
})
this.polyEditor.on('end', ({target}) => {
if (target) {
console.log(target.getPath())
this.overlays.push(target);
this.points = target.getPath().map(e => ({lat: e.getLat(), lng: e.getLng()}))
}