diff --git a/src/jmap/painter.js b/src/jmap/painter.js index 6c5940fca..4c687676d 100644 --- a/src/jmap/painter.js +++ b/src/jmap/painter.js @@ -51,7 +51,7 @@ class Painter { // 创建视图 Object.values(mapDevice).forEach(device => { - device && this.add(device); + this.add(device); }); } @@ -60,7 +60,6 @@ class Painter { * @param {*} device */ add(device) { - // console.log(device, device._type, 111); const type = device._type; const instance = shapefactory(type, device, this.$jmap); if (instance) {