@pisell/pisellos 3.0.19 → 3.0.20

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.
@@ -302,7 +302,7 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
302
302
  })));
303
303
  } else {
304
304
  processedProductsMap.set(product._id, _this3.hooks.setProduct(originProduct, _objectSpread(_objectSpread({}, isManualDiscount ? {} : {
305
- total: product.origin_total || product.total,
305
+ total: product.total,
306
306
  price: product.price
307
307
  }), {}, {
308
308
  discount_list: []
@@ -206,7 +206,7 @@ var RulesModule = class extends import_BaseModule.BaseModule {
206
206
  product._id,
207
207
  this.hooks.setProduct(originProduct, {
208
208
  ...isManualDiscount ? {} : {
209
- total: product.origin_total || product.total,
209
+ total: product.total,
210
210
  price: product.price
211
211
  },
212
212
  discount_list: []
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "3.0.19",
4
+ "version": "3.0.20",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",