openatc-components 0.4.35 → 0.4.37

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.4.35",
3
+ "version": "0.4.37",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -1567,7 +1567,9 @@ export default {
1567
1567
  let maxNum = Math.max.apply(Math, na.map(item => { return item.length }))
1568
1568
  let minNum = Math.min.apply(Math, na.map(item => { return item.length }))
1569
1569
  newMax.push(maxNum)
1570
- newMin.push(minNum)
1570
+ if (minNum !== 0) {
1571
+ newMin.push(minNum)
1572
+ }
1571
1573
  let newmaxNum = Math.max.apply(Math, newMax)// 每组最大值
1572
1574
  let newminNum = Math.min.apply(Math, newMin)
1573
1575
  if (newArr.length > 1) {
@@ -202,7 +202,7 @@ export default class RingDataModel {
202
202
  let currPhase = this.phaseList.filter((item) => {
203
203
  return item.id === stg
204
204
  })[0]
205
- if (!currPhase) return
205
+ if (!currPhase) continue
206
206
  if (currPhase !== undefined && phaseMode[0].mode !== 1) {
207
207
  directionList = [...currPhase.direction, ...directionList]
208
208
  }
@@ -167,7 +167,7 @@ export default {
167
167
  // agentId: '12007_390',
168
168
  // agentId: '12014',
169
169
  reqUrl: 'http://192.168.13.103:10003/openatc',
170
- Token: 'eyJraWQiOiIxNzQwOTY0OTMyMzgwIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc0MDk2ODUzMiwiaWF0IjoxNzQwOTYxMzMyfQ.ijMaPn0Av0NpJgxzEY6CwzzRpEdVbx9pB7mApzx3DUY',
170
+ Token: 'eyJraWQiOiIxNzMwODU1NTQ1NzA3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczMDg1OTE0NSwiaWF0IjoxNzMwODUxOTQ1fQ.CBl61S3eRifl4qEtTmgVjOZGo2hqNSGQKPxG1bN-utU',
171
171
  // agentId: '30003-352',
172
172
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
173
173
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
@@ -24,9 +24,9 @@ export default {
24
24
  isShowMode: true,
25
25
  modeName: '交警遥控',
26
26
  controlName: '步进',
27
- agentId: '13000000000000000003',
28
- agentid1: '13000000000000000003',
29
- agentid2: '13000000000000000003',
27
+ agentId: '13013',
28
+ agentid1: 'gjnlahql',
29
+ agentid2: '12007_001',
30
30
  isShowMessage: false,
31
31
  isShowInterval: true,
32
32
  sum: 0,