openatc-components 0.0.40-hotfix → 0.0.41-hotfix

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.0.40-hotfix",
3
+ "version": "0.0.41-hotfix",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -101,18 +101,18 @@ export default class RingDataModel {
101
101
  // 公交相位信息
102
102
  this.busPhaseData = []
103
103
  this.phaseList.forEach((ele, i) => {
104
- if (ele.controltype >= 3 && ele.controltype <= 5) {
105
- ele.direction.forEach((dir, index) => {
104
+ // if (ele.controltype >= 3 && ele.controltype <= 5) {
105
+ ele.direction.forEach((dir, index) => {
106
106
  // 车道相位
107
- this.busPhaseData.push({
108
- // key: this.CrossDiagramMgr.getUniqueKey('busphase'),
109
- phaseid: ele.id, // 相位id,用于对应相位状态
110
- id: dir, // 接口返回的dir字段,对应前端定义的相位方向id,唯一标识
111
- name: this.PhaseDataModel.getBusPhasePos(dir).name,
112
- controltype: ele.controltype
113
- })
107
+ this.busPhaseData.push({
108
+ // key: this.CrossDiagramMgr.getUniqueKey('busphase'),
109
+ phaseid: ele.id, // 相位id,用于对应相位状态
110
+ id: dir, // 接口返回的dir字段,对应前端定义的相位方向id,唯一标识
111
+ name: this.PhaseDataModel.getBusPhasePos(dir).name,
112
+ controltype: ele.controltype
114
113
  })
115
- }
114
+ })
115
+ // }
116
116
  })
117
117
  let result = []
118
118
  let obj = {}