@fonixtree/magic-design 2.0.185 → 2.0.186
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.
|
@@ -164,7 +164,7 @@ function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
var _discountPercent = isRecommend ? data.sppDiscountPercent : data.discountPercent;
|
|
167
|
+
var _discountPercent = isRecommend ? data.sppDiscountPercent || data.discountPercent : data.discountPercent;
|
|
168
168
|
|
|
169
169
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
170
170
|
className: (0, _classnames["default"])('monpay-product-item-wrap', {
|
|
@@ -164,7 +164,7 @@ function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
var _discountPercent = isRecommend ? data.sppDiscountPercent : data.discountPercent;
|
|
167
|
+
var _discountPercent = isRecommend ? data.sppDiscountPercent || data.discountPercent : data.discountPercent;
|
|
168
168
|
|
|
169
169
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
170
170
|
className: (0, _classnames["default"])('monpay-product-item-wrap', {
|