From 388f4593f1bb605f8e87f2f3c1f982c679e0fc66 Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 7 Dec 2023 17:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=99=E5=A4=A7=E7=BD=91=E6=96=B0=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E8=B0=83=E6=95=B41207?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/config/skinCode/xian_02.js | 2 +- src/jmapNew/shape/graph/Station/index.js | 2 +- src/jmapNew/theme/xian_02/menus/menuStation.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jmapNew/config/skinCode/xian_02.js b/src/jmapNew/config/skinCode/xian_02.js index 13cd7222f..a4494c1c9 100644 --- a/src/jmapNew/config/skinCode/xian_02.js +++ b/src/jmapNew/config/skinCode/xian_02.js @@ -709,7 +709,7 @@ class SkinCode extends defaultStyle { trainNameFormat: 'serviceNumber:targetCode', // 列车显示格式 trainBodyFaultFlashColor:'#f00' // 列车故障闪烁颜色 }, - directionArrow: { + directionArrow: { }, hsda: { lrPaddingHSDA: 3, // HSDA两边间隔 diff --git a/src/jmapNew/shape/graph/Station/index.js b/src/jmapNew/shape/graph/Station/index.js index fdaa931e8..b6db2e6db 100644 --- a/src/jmapNew/shape/graph/Station/index.js +++ b/src/jmapNew/shape/graph/Station/index.js @@ -1054,7 +1054,7 @@ export default class Station extends Group { } } controlTextFlash(apply2TheControlMode) { - if (this.stationControlCC && apply2TheControlMode === 'Local' ) { + if (this.stationControlCC && apply2TheControlMode) { let color; if (apply2TheControlMode === 'Local') { color = this.style.Station.StationControl.text.stationControlColor; diff --git a/src/jmapNew/theme/xian_02/menus/menuStation.vue b/src/jmapNew/theme/xian_02/menus/menuStation.vue index 10f2eaddf..c11d256bc 100644 --- a/src/jmapNew/theme/xian_02/menus/menuStation.vue +++ b/src/jmapNew/theme/xian_02/menus/menuStation.vue @@ -67,9 +67,9 @@ export default { handler: this.work === 'localWork' ? this.agreeCenterControl : this.agreeStationControl, isDisabled: (station, work) => { if (work === 'localWork') { - return station.controlMode !== 'Local'; + return station.apply2TheControlMode !== 'Center'; } else { - return station.controlMode !== 'Center'; + return station.apply2TheControlMode !== 'Local'; } }, isShow: (station, work) => true