Commit 8e30a0ca by jack

修复bug

1 parent 03291bc1
......@@ -605,6 +605,7 @@ export default {
}, 500);
},
drawPolygon(path) {
console.log('path')
EventBus.$emit("uiMap.fence.drawPolygon", {
path,
isEdit: false,
......
......@@ -106,7 +106,7 @@ const fence = {
},
createFenceCircle(data){
const MAP = mapService.map;
this.destroy();
//this.destroy();
this.circle = new AMap.Circle({
map: MAP,
......@@ -176,7 +176,7 @@ const fence = {
drawPolygon(){
const MAP = mapService.map;
const self = this;
this.destroy();
//this.destroy();
if(this.polygonPath.length){
self.polygon = new AMap.Polygon({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!