openatc-components 0.1.23 → 0.1.25

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.
@@ -395,6 +395,7 @@ export default {
395
395
  index: this.index,
396
396
  id: this.motorid,
397
397
  keyid: this.motorid, // 后端需要的id,默认指取索引,可修改
398
+ laneid: String(this.motorid), // 全息需要车道id
398
399
  icontype: 'vehile',
399
400
  icondireid: [1], // 前端区分箭头方向的标识
400
401
  icondirename: [this.PhaseDataModel.getPhase(1).name],
@@ -870,6 +871,8 @@ export default {
870
871
  return j
871
872
  }
872
873
  }
874
+ } else {
875
+ return 1
873
876
  }
874
877
  },
875
878