adata-ui 0.2.5 → 0.2.6

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": "adata-ui",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -657,7 +657,7 @@ export default {
657
657
  this.$emit("menuOpen", this.isOpen);
658
658
  },
659
659
  thousandSeparator(val) {
660
- return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "";
660
+ return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "0";
661
661
  },
662
662
  defineIconState(name) {
663
663
  return name === "DOWN" ? "@/assets/icons/arrow-down.svg" : "@/assets/icons/arrow-up.svg";