vsyswin-ui 0.2.92 → 0.2.94

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": "vsyswin-ui",
3
- "version": "0.2.92",
3
+ "version": "0.2.94",
4
4
  "main": "lib/vsyswin-ui.umd.min.js",
5
5
  "private": false,
6
6
  "description": "Vue2.x的应用组件库.",
@@ -519,7 +519,11 @@ export default {
519
519
  }
520
520
  }, 0);
521
521
  }
522
- sums[index] = (+sums[index]).toFixed(this.decimalNum);
522
+ if (this.decimalNum < 0) {
523
+ // sums[index] = sums[index];
524
+ } else {
525
+ sums[index] = (+sums[index]).toFixed(this.decimalNum);
526
+ }
523
527
  } else {
524
528
  sums[index] = '';
525
529
  }