@pisell/pisellos 2.2.68 → 2.2.69

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.
@@ -1672,12 +1672,14 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
1672
1672
  // num: item.num, // 使用拆分后的 num
1673
1673
  });
1674
1674
  });
1675
+ debugger;
1675
1676
  newBundle.push(_objectSpread(_objectSpread({}, bundleItem), {}, {
1676
1677
  _id: item._id,
1677
1678
  product_id: bundleItem.product_id,
1678
1679
  price: item.price,
1679
1680
  num: item.num,
1680
- discount_list: updatedDiscountList
1681
+ discount_list: updatedDiscountList,
1682
+ bundle_selling_price: bundleItem.bundle_selling_price !== undefined && item.price
1681
1683
  }));
1682
1684
  });
1683
1685
  }
@@ -1368,13 +1368,15 @@ var RulesModule = class extends import_BaseModule.BaseModule {
1368
1368
  // num: item.num, // 使用拆分后的 num
1369
1369
  };
1370
1370
  });
1371
+ debugger;
1371
1372
  newBundle.push({
1372
1373
  ...bundleItem,
1373
1374
  _id: item._id,
1374
1375
  product_id: bundleItem.product_id,
1375
1376
  price: item.price,
1376
1377
  num: item.num,
1377
- discount_list: updatedDiscountList2
1378
+ discount_list: updatedDiscountList2,
1379
+ bundle_selling_price: bundleItem.bundle_selling_price !== void 0 && item.price
1378
1380
  });
1379
1381
  });
1380
1382
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.68",
4
+ "version": "2.2.69",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",