openatc-components 0.1.55 → 0.1.56

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.
@@ -268,18 +268,15 @@ export default {
268
268
  },
269
269
  created () {
270
270
  this.globalParamModel = this.$store.getters.globalParamModel
271
- if (this.localPatternList) {
272
- let idPattern = this.localPatternList.filter(item => item.id === this.controlData.patternid)
273
- if (this.patternStatusList && this.newCycle && !this.controlData) {
274
- setTimeout(() => {
275
- this.handleCurrentChange(this.patternStatusList)
276
- this.handleBarrierHeight()
277
- }, 400)
278
- } else if (idPattern.length === 0 || (this.controlData && this.showCondition) || (this.controlData && this.localPatternList.length === 0)) {
279
- this.handleTentivePatternData()
280
- } else {
281
- this.handlePatternData()
282
- }
271
+ if (this.patternStatusList && this.newCycle && !this.controlData) {
272
+ setTimeout(() => {
273
+ this.handleCurrentChange(this.patternStatusList)
274
+ this.handleBarrierHeight()
275
+ }, 400)
276
+ } else if ((this.controlData && this.controlData.patternid === 109) || (this.controlData && this.showCondition) || (this.controlData && this.localPatternList.length === 0)) {
277
+ this.handleTentivePatternData()
278
+ } else {
279
+ this.handlePatternData()
283
280
  }
284
281
  this.PhaseDataModel = new PhaseDataModel()
285
282
  this.CrossDiagramMgr = new CrossDiagramMgr()