openatc-components 0.4.31 → 0.4.32
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.
package/package.json
CHANGED
|
@@ -441,8 +441,12 @@ export default {
|
|
|
441
441
|
this.curPhase = val.current_phase
|
|
442
442
|
this.curStage = val.current_stage
|
|
443
443
|
this.isHasPhase = true
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
if (val.phase) {
|
|
445
|
+
this.createPhaseStatusMap()
|
|
446
|
+
}
|
|
447
|
+
if (val.overlap) {
|
|
448
|
+
this.createOverlapPhaseStatusMap()
|
|
449
|
+
}
|
|
446
450
|
// 正常情况下,获取车道相位、车道跟随相位、相位倒计时、行人相位、行人跟随相位 的状态
|
|
447
451
|
this.getPhaseStatus()
|
|
448
452
|
this.getOverlapPhaseStatus()
|