Skip to content

Commit

Permalink
Update index.js (#3536)
Browse files Browse the repository at this point in the history
  • Loading branch information
NineSu committed Aug 19, 2020
1 parent 97228aa commit 4a479f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/submit-bar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ VantComponent({
this.setData({
hasPrice: typeof price === 'number',
integerStr: priceStrArr && priceStrArr[0],
decimalStr: decimalLength && priceStrArr ? `.${priceStrArr[1]}` : '',
decimalStr: decimalLength && priceStrArr ? `.${priceStrArr[1] || 0}` : '',
});
},
updateTip() {
Expand Down

0 comments on commit 4a479f6

Please sign in to comment.