@pisell/pisellos 0.0.117 → 0.0.118
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.
|
@@ -85,7 +85,7 @@ export var OrderModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
85
85
|
item._origin.sub_type = durationType;
|
|
86
86
|
}
|
|
87
87
|
// 购物车是否为普通商品
|
|
88
|
-
if (isNormalProduct(item._origin
|
|
88
|
+
if (isNormalProduct(item._origin)) {
|
|
89
89
|
var _order$relation_forms;
|
|
90
90
|
order.relation_products.push(item._origin.product);
|
|
91
91
|
var relationForms = item._origin.relation_forms || [];
|
|
@@ -58,7 +58,7 @@ var OrderModule = class extends import_BaseModule.BaseModule {
|
|
|
58
58
|
item._origin.duration = duration;
|
|
59
59
|
item._origin.sub_type = durationType;
|
|
60
60
|
}
|
|
61
|
-
if ((0, import_utils2.isNormalProduct)(item._origin
|
|
61
|
+
if ((0, import_utils2.isNormalProduct)(item._origin)) {
|
|
62
62
|
order.relation_products.push(item._origin.product);
|
|
63
63
|
const relationForms = item._origin.relation_forms || [];
|
|
64
64
|
order.relation_forms.push(...relationForms);
|