diff --git a/src/jmapNew/painter.js b/src/jmapNew/painter.js index 271c5f914..6615d0fb6 100644 --- a/src/jmapNew/painter.js +++ b/src/jmapNew/painter.js @@ -155,7 +155,7 @@ class Painter { trainDevice.instance && this.mapInstanceLevel[deviceType.Train].remove(trainDevice.instance); trainDevice.instance = null; trainDevice.zrOptions = this.$jmap.$options; - this.add(trainDevice); + curModel.sectionModel.instance && this.add(trainDevice); }); if (this.screenFlag) {