From e38570436042c166f477247a9bde33115e480eb4 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 2 Aug 2019 17:41:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=EF=BC=9A=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmap/config/skinStyle/fuzhou_01.js | 2 +- src/jmap/shape/StationControl/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jmap/config/skinStyle/fuzhou_01.js b/src/jmap/config/skinStyle/fuzhou_01.js index 2301400c9..19bab85a6 100644 --- a/src/jmap/config/skinStyle/fuzhou_01.js +++ b/src/jmap/config/skinStyle/fuzhou_01.js @@ -172,7 +172,7 @@ class SkinStyle extends defaultStyle { textVerticalAlign: 'top' // 字体垂直对齐 }, lamp: { - count: 2, // 控制模式灯个数 + count: 4, // 控制模式灯个数 offset: {x: 0, y: 0}, // 控制模式灯偏移量 radiusR: 4, // 控制模式灯的半径 distance: 36, // 控制模式之间灯之间的距离 diff --git a/src/jmap/shape/StationControl/index.js b/src/jmap/shape/StationControl/index.js index d50888b10..f0f37d187 100644 --- a/src/jmap/shape/StationControl/index.js +++ b/src/jmap/shape/StationControl/index.js @@ -97,7 +97,7 @@ export default class StationControl extends Group { this.add(this.centerControl); if (this.style.StationControl.lamp.count == 3) { this.add(this.emergencyControl); - } else if (this.style.StationControl.singleControlNum == 4) { + } else if (this.style.StationControl.lamp.count == 4) { this.add(this.emergencyControl); this.add(this.turnedAroundControl); }