From bc83661f1ff78e8a8762f7e2ff62c0a981bad0d9 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Apr 2021 17:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E7=BA=BF=E8=B7=AF=20?= =?UTF-8?q?=E5=8C=BA=E6=AE=B5=E7=8A=B6=E6=80=81=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/config/skinCode/datie_01.js | 4 ++-- src/jmapNew/shape/Section/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jmapNew/config/skinCode/datie_01.js b/src/jmapNew/config/skinCode/datie_01.js index 12a2d9a9b..d896e25bc 100644 --- a/src/jmapNew/config/skinCode/datie_01.js +++ b/src/jmapNew/config/skinCode/datie_01.js @@ -6,7 +6,7 @@ class SkinCode extends defaultStyle { super(); this.fontFamily = '宋体'; this[deviceType.Section] = { - elemnetType:['name', 'line', 'separator'], + elemnetType:['name', 'line', 'separator', 'badShunt'], // 'speedLimit', 'speedLimitName','standTrackText','reentryTrackText','transferTrackText', active: { routeColor: true // 进路触发颜色 @@ -106,7 +106,7 @@ class SkinCode extends defaultStyle { }, badShunt:{ z: 2, - distance: 5, // 分路不良 距离区段距离 + distance: 2, // 分路不良 距离区段距离 width: 1, // 分路不良的宽度 lineColor: 'rgb(188,67,180)' // 分路不良颜色 (粉红色) }, diff --git a/src/jmapNew/shape/Section/index.js b/src/jmapNew/shape/Section/index.js index 0124dc5a3..b65457a35 100644 --- a/src/jmapNew/shape/Section/index.js +++ b/src/jmapNew/shape/Section/index.js @@ -437,12 +437,12 @@ export default class Section extends Group { } } // 分路不良 - model.badShunt && this.badShunt(); + model.badShunt && this.badShuntStatus(); } } // 分路不良 - badShunt() { + badShuntStatus() { this.badShunt && this.badShunt.show(); }