@pisell/pisellos 1.0.76 → 1.0.77
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.
|
@@ -3160,7 +3160,9 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
3160
3160
|
var product = _ref13.product,
|
|
3161
3161
|
date = _ref13.date,
|
|
3162
3162
|
account = _ref13.account;
|
|
3163
|
-
var cartItems =
|
|
3163
|
+
var cartItems = this.store.cart.getItems().filter(function (item) {
|
|
3164
|
+
return !isNormalProduct(item._productOrigin);
|
|
3165
|
+
});
|
|
3164
3166
|
|
|
3165
3167
|
// 将 ProductData 转换为 CartItem 但不真正添加到购物车
|
|
3166
3168
|
var currentCartItem = this.convertProductToCartItem({
|
|
@@ -2186,7 +2186,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
|
|
|
2186
2186
|
account
|
|
2187
2187
|
}) {
|
|
2188
2188
|
var _a, _b;
|
|
2189
|
-
const cartItems =
|
|
2189
|
+
const cartItems = this.store.cart.getItems().filter((item) => !(0, import_utils5.isNormalProduct)(item._productOrigin));
|
|
2190
2190
|
const currentCartItem = this.convertProductToCartItem({ product, date, account });
|
|
2191
2191
|
cartItems.push(currentCartItem);
|
|
2192
2192
|
if (cartItems.length === 0)
|