openatc-components 0.1.179 → 0.1.180
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.
|
@@ -873,7 +873,7 @@ export default {
|
|
|
873
873
|
},
|
|
874
874
|
handleCurrentChange (val) { // 两个ring的数据
|
|
875
875
|
if (val === null || val.length === 0) return
|
|
876
|
-
if (this.controlPhase.phase && this.controlPhase.phase[0].split) {
|
|
876
|
+
if (this.controlPhase && this.controlPhase.phase && this.controlPhase.phase[0].split) {
|
|
877
877
|
val.map(i => {
|
|
878
878
|
i.map(j => {
|
|
879
879
|
j.value = this.controlPhase.phase.filter(item => item.id === j.id)[0].split
|