openatc-components 0.1.54 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -268,13 +268,12 @@ export default {
268
268
  },
269
269
  created () {
270
270
  this.globalParamModel = this.$store.getters.globalParamModel
271
- let idPattern = this.localPatternList.filter(item => item.id === this.controlData.patternid)
272
271
  if (this.patternStatusList && this.newCycle && !this.controlData) {
273
272
  setTimeout(() => {
274
273
  this.handleCurrentChange(this.patternStatusList)
275
274
  this.handleBarrierHeight()
276
275
  }, 400)
277
- } else if (idPattern.length === 0 || (this.controlData && this.showCondition) || (this.controlData && this.localPatternList.length === 0)) {
276
+ } else if ((this.controlData && this.controlData.patternid === 109) || (this.controlData && this.showCondition) || (this.controlData && this.localPatternList.length === 0)) {
278
277
  this.handleTentivePatternData()
279
278
  } else {
280
279
  this.handlePatternData()