@pisell/pisellos 0.0.158 → 0.0.159

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.
@@ -458,7 +458,7 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
458
458
  options: product.options
459
459
  }),
460
460
  variant: variant,
461
- original_price: new Decimal(targetProductPrice).toNumber(),
461
+ original_price: new Decimal(product.price).toNumber(),
462
462
  total: getProductTotalPrice({
463
463
  product: {
464
464
  price: targetProductPrice
@@ -329,7 +329,7 @@ var RulesModule = class extends import_BaseModule.BaseModule {
329
329
  options: product.options
330
330
  }),
331
331
  variant,
332
- original_price: new import_decimal.default(targetProductPrice).toNumber(),
332
+ original_price: new import_decimal.default(product.price).toNumber(),
333
333
  total: (0, import_utils2.getProductTotalPrice)({
334
334
  product: {
335
335
  price: targetProductPrice
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.158",
4
+ "version": "0.0.159",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",