openatc-components 0.2.10 → 0.2.11

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.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -1051,9 +1051,9 @@ export default {
1051
1051
  this.fillGap(ringTeams, val)
1052
1052
  }
1053
1053
  if (this.cycleChange) {
1054
- // const globalParamModel = this.$store.getters.globalParamModel
1055
- // let pattern = globalParamModel.getParamsByType('patternList')
1056
- const allCycle = this.patternList.map(item => item.cycle)
1054
+ const globalParamModel = this.$store.getters.globalParamModel
1055
+ let pattern = globalParamModel.getParamsByType('patternList')
1056
+ const allCycle = pattern.map(item => item.cycle)
1057
1057
  let cycle = Math.max(...allCycle)
1058
1058
  this.max = cycle
1059
1059
  } else {