openatc-components 0.5.5 → 0.5.7
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/kisscomps/components/OverviewComponent/index.vue +7 -0
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/OverviewComponent/index.vue +7 -0
- package/package/kisscomps/components/OptimizeKanban/index.js +0 -2
- package/package/kisscomps/components/OptimizeKanban/index.vue +0 -369
- package/package/kisscomps/components/StageOptimize/index.vue +0 -310
- package/src/node_modules/.package_versions.json +0 -1
|
@@ -206,6 +206,9 @@ export default {
|
|
|
206
206
|
// return this.$store.state.globalParam.tscParam.patternList
|
|
207
207
|
// },
|
|
208
208
|
patterData () {
|
|
209
|
+
if (!this.allPatternList) {
|
|
210
|
+
return undefined
|
|
211
|
+
}
|
|
209
212
|
return this.allPatternList.filter(item => {
|
|
210
213
|
return item.id === this.controlData.patternid
|
|
211
214
|
})[0]
|
|
@@ -301,6 +304,10 @@ export default {
|
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
306
|
this.allPatternList = res.data.data.param.patternList
|
|
307
|
+
if (!this.allPatternList) {
|
|
308
|
+
resolve(res.data.data)
|
|
309
|
+
return
|
|
310
|
+
}
|
|
304
311
|
console.log(this.allPatternList)
|
|
305
312
|
if (!this.allPatternList[0].contrloType && this.allPatternList[0].rings.length > 0) {
|
|
306
313
|
this.contrloType = 'ring'
|