openatc-components 0.4.34 → 0.4.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -309,7 +309,9 @@ export default {
309
309
  crossStatusData: {
310
310
  handler: function (val, oldVal) {
311
311
  // 路口状态数据
312
- this.compareIsChangedPhase(val, oldVal) // 比较相位状态决定是否更新相位图标(解决虚相位显示问题,虚相位图标不显示)
312
+ if (!this.channelType || (this.channelType && this.isThirdSignal)) {
313
+ this.compareIsChangedPhase(val, oldVal) // 比较相位状态决定是否更新相位图标(解决虚相位显示问题,虚相位图标不显示)
314
+ }
313
315
  this.statusData = JSON.parse(JSON.stringify(val))
314
316
  // 默认显示相位数据(包括黄闪、全红、关灯状态下,或者匝道,均不做比对跟随相位的处理)
315
317
  this.drawDefaultPhaseIcon()