openatc-components 0.4.36 → 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.36",
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) {