openatc-components 0.0.95 → 0.0.98

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.
@@ -57,7 +57,9 @@ export default {
57
57
  if (this.contrloType === 'stage') {
58
58
  this.getStageLine()
59
59
  } else {
60
- this.getPhaseId(this.controlData)
60
+ if (this.controlData) {
61
+ this.getPhaseId(this.controlData)
62
+ }
61
63
  }
62
64
  },
63
65
  // 深度观察监听
@@ -66,7 +68,9 @@ export default {
66
68
  patternStatusList: {
67
69
  handler: function (val, oldVal) {
68
70
  // this.handleStages() // 计算屏障高度
69
- this.getPhaseId(this.patternStatusList)
71
+ if (this.patternStatusList) {
72
+ this.getPhaseId(this.patternStatusList)
73
+ }
70
74
  },
71
75
  // 深度观察监听
72
76
  deep: true
@@ -21,6 +21,7 @@ import StageBord from './components/StageBord/index'
21
21
  import ExpendConfig from './components/ExpendConfig/index'
22
22
  import PatternWalkSvg from './components/PatternWalkSvg/index'
23
23
  import tentativeplancontrolmodal from './components/SchemeConfig/tentativeplancontrolmodal/index'
24
+ import priorityControl from './components/SchemeConfig/priorityControl/index'
24
25
  import { setToken, setHost } from '../utils/auth.js'
25
26
  import componentsGlobalParam from '../store/modules/globalParam'
26
27
 
@@ -51,6 +52,7 @@ const components = {
51
52
  StageBord,
52
53
  ExpendConfig,
53
54
  PatternWalkSvg,
55
+ priorityControl,
54
56
  tentativeplancontrolmodal
55
57
  }
56
58