openatc-components 0.5.66 → 0.5.68
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
|
@@ -533,9 +533,7 @@ export default {
|
|
|
533
533
|
this.getOverlapPhaseStatus()
|
|
534
534
|
this.getRoadwayLightStatus()
|
|
535
535
|
this.getCurPhaseCountdown()
|
|
536
|
-
|
|
537
|
-
this.getCurStageCountdown()
|
|
538
|
-
}
|
|
536
|
+
this.getCurStageCountdown()
|
|
539
537
|
this.getBusPhaseStatus()
|
|
540
538
|
if (this.mainType === '100' || this.mainType === '101' || this.mainType === '104') {
|
|
541
539
|
// 城市道路和路段行人过街才显示人行道状态
|
|
@@ -925,6 +923,7 @@ export default {
|
|
|
925
923
|
this.stageCountdownList = []
|
|
926
924
|
let stagesList = this.stagesList()
|
|
927
925
|
this.stageCountdownList = stagesList[this.curStage - 1]
|
|
926
|
+
if (!this.stageCountdownList) return
|
|
928
927
|
this.stageCountdownList = this.stageCountdownList.map(phaseInfo => {
|
|
929
928
|
return {
|
|
930
929
|
...phaseInfo,
|