@pisell/pisellos 0.0.472 → 0.0.473
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.
|
@@ -426,7 +426,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
426
426
|
// 可选,附加费均摊舍入金额
|
|
427
427
|
"surcharge_rounding_remainder": item.metadata.surcharge_rounding_remainder
|
|
428
428
|
},
|
|
429
|
-
product_bundle: item.product_bundle.map(function (bundle) {
|
|
429
|
+
product_bundle: (item.product_bundle || []).map(function (bundle) {
|
|
430
430
|
return {
|
|
431
431
|
is_price_include_tax: item.is_price_include_tax,
|
|
432
432
|
bundle_id: bundle.bundle_id,
|
|
@@ -245,7 +245,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
245
245
|
// 可选,附加费均摊舍入金额
|
|
246
246
|
"surcharge_rounding_remainder": item.metadata.surcharge_rounding_remainder
|
|
247
247
|
},
|
|
248
|
-
product_bundle: item.product_bundle.map((bundle) => {
|
|
248
|
+
product_bundle: (item.product_bundle || []).map((bundle) => {
|
|
249
249
|
return {
|
|
250
250
|
is_price_include_tax: item.is_price_include_tax,
|
|
251
251
|
bundle_id: bundle.bundle_id,
|