mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
Update index.js (#3536)
This commit is contained in:
parent
97228aa15f
commit
4a479f6234
2
dist/submit-bar/index.js
vendored
2
dist/submit-bar/index.js
vendored
@ -44,7 +44,7 @@ VantComponent({
|
|||||||
this.setData({
|
this.setData({
|
||||||
hasPrice: typeof price === 'number',
|
hasPrice: typeof price === 'number',
|
||||||
integerStr: priceStrArr && priceStrArr[0],
|
integerStr: priceStrArr && priceStrArr[0],
|
||||||
decimalStr: decimalLength && priceStrArr ? `.${priceStrArr[1]}` : '',
|
decimalStr: decimalLength && priceStrArr ? `.${priceStrArr[1] || 0}` : '',
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
updateTip() {
|
updateTip() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user