component-shipinlv 0.1.25 → 1.0.0
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/dist/UI/Money/index.js +1 -1
- package/dist/VipList/index.js +2 -1
- package/package.json +1 -1
package/dist/UI/Money/index.js
CHANGED
@@ -26,7 +26,7 @@ var Money = function Money(_ref) {
|
|
26
26
|
children: pre
|
27
27
|
}), /*#__PURE__*/_jsx("span", {
|
28
28
|
className: "value ".concat(value === 0 ? 'zero' : '', " "),
|
29
|
-
children: typeof value === 'number' ? disabledMoneySimple ? value.toFixed(precision) : moneySimple(value, false, precision) : ''
|
29
|
+
children: typeof value === 'number' ? disabledMoneySimple ? parseFloat(value.toFixed(precision)) : moneySimple(value, false, precision) : ''
|
30
30
|
}), /*#__PURE__*/_jsx("span", {
|
31
31
|
className: "yen",
|
32
32
|
children: end
|
package/dist/VipList/index.js
CHANGED
@@ -278,7 +278,8 @@ var VipList = function VipList(_ref) {
|
|
278
278
|
var price = getPrice(result.vipList, item.id);
|
279
279
|
value = /*#__PURE__*/_jsx(Money, {
|
280
280
|
value: price,
|
281
|
-
precision:
|
281
|
+
precision: 2,
|
282
|
+
disabledMoneySimple: true
|
282
283
|
});
|
283
284
|
}
|
284
285
|
itemData["vipLevel".concat(item.vipLevel)] = value;
|