@fonixtree/magic-design 1.0.49 → 1.0.50
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.
|
Binary file
|
|
@@ -136,7 +136,7 @@ function (_super) {
|
|
|
136
136
|
|
|
137
137
|
var _price = pricePrefix + " " + integerPart + " " + (decimalPart ? '.' + decimalPart : '');
|
|
138
138
|
|
|
139
|
-
var oldPrice = data.marketPrice
|
|
139
|
+
var oldPrice = data.marketPrice ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
|
|
140
140
|
var discount = Number(data.discountPercent) || 0;
|
|
141
141
|
var salePercent = Number(data.salePercent) / 100 || 0;
|
|
142
142
|
var imgStyle = {};
|
|
Binary file
|
|
@@ -136,7 +136,7 @@ function (_super) {
|
|
|
136
136
|
|
|
137
137
|
var _price = pricePrefix + " " + integerPart + " " + (decimalPart ? '.' + decimalPart : '');
|
|
138
138
|
|
|
139
|
-
var oldPrice = data.marketPrice
|
|
139
|
+
var oldPrice = data.marketPrice ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
|
|
140
140
|
var discount = Number(data.discountPercent) || 0;
|
|
141
141
|
var salePercent = Number(data.salePercent) / 100 || 0;
|
|
142
142
|
var imgStyle = {};
|