@pisell/pisellos 0.0.295 → 0.0.296

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.
@@ -485,7 +485,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
485
485
  bookings === null || bookings === void 0 || bookings.forEach(function (item) {
486
486
  var deposit = getProductDeposit({
487
487
  cartItem: {
488
- total: item.product.price * item.num
488
+ total: item.product.price * (item.product.num || 1)
489
489
  },
490
490
  product: item.product,
491
491
  bundle: item.bundle,
@@ -282,7 +282,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
282
282
  bookings == null ? void 0 : bookings.forEach((item) => {
283
283
  const deposit = (0, import_utils2.getProductDeposit)({
284
284
  cartItem: {
285
- total: item.product.price * item.num
285
+ total: item.product.price * (item.product.num || 1)
286
286
  },
287
287
  product: item.product,
288
288
  bundle: item.bundle,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.295",
4
+ "version": "0.0.296",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",