diff --git a/src/jmapNew/config/skinCode/bejing_01.js b/src/jmapNew/config/skinCode/bejing_01.js index bc37224d1..eb3e9f818 100644 --- a/src/jmapNew/config/skinCode/bejing_01.js +++ b/src/jmapNew/config/skinCode/bejing_01.js @@ -553,6 +553,7 @@ class SkinCode extends defaultStyle { textAContent: 'A'// textA文本 }, trainNumber: { + targetCodePrefix: '000', // 目的地码前缀 trainNumberOffset: { x: 0, y: 1 }// 目的地码偏移量 }, trainServer: { diff --git a/src/jmapNew/shape/Train/EMouse.js b/src/jmapNew/shape/Train/EMouse.js index af048163b..e37c0892e 100644 --- a/src/jmapNew/shape/Train/EMouse.js +++ b/src/jmapNew/shape/Train/EMouse.js @@ -73,24 +73,6 @@ class EMouse extends Group { this.add(this.trainBorder); this.trainBorder.hide(); } - // debugger; - // // const data = this.getBoundingRect(); - // const rect = this.device.getBoundingRect(); - // // this.trainBorder = new Rect({ - // // zlevel: this.device.model.zlevel, - // // z: this.device.z, - // // silent: true, - // // shape: Object.assign({ r: 4 }, rect), - // // style: { - // // lineDash: [3, 3], - // // stroke: this.device.style.Train.mouseOverStyle.borderColor, - // // fill: this.device.style.transparentColor - // // } - // // }); - // // this.add(this.trainBorder); - // // this.trainBorder.hide(); - // } - } mouseover() {