mali-applet-ui 1.1.1 → 1.1.2

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.
@@ -45,9 +45,9 @@ export default {
45
45
  },
46
46
  amountLabel () {
47
47
  if (this.simplify) {
48
- return MaliUtils.toWanAmountString(this.value, this.digits)
48
+ return MaliUtils.toWanAmountString(this.value || 0, this.digits)
49
49
  }
50
- return MaliUtils.toAmountString(this.value, this.digits)
50
+ return MaliUtils.toAmountString(this.value || 0, this.digits)
51
51
  }
52
52
  },
53
53
  methods: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "vue2 码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",