@pisell/pisellos 0.0.277 → 0.0.278

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.
@@ -2593,7 +2593,7 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
2593
2593
  return acc;
2594
2594
  }, 0);
2595
2595
  // 如果已使用容量超过了当前类型资源的容量,则不可用
2596
- if (sameCartNeedCapacity + otherCartNeedCapacity + usedCapacity >= currentTypeResourcesCapacity) {
2596
+ if (otherCartNeedCapacity + usedCapacity >= currentTypeResourcesCapacity) {
2597
2597
  bookingLeft = 0;
2598
2598
  count = 0;
2599
2599
  }
@@ -1819,7 +1819,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
1819
1819
  acc += Array.from(mSet.values()).reduce((acc2, curr2) => acc2 + curr2, 0);
1820
1820
  return acc;
1821
1821
  }, 0);
1822
- if (sameCartNeedCapacity + otherCartNeedCapacity + usedCapacity >= currentTypeResourcesCapacity) {
1822
+ if (otherCartNeedCapacity + usedCapacity >= currentTypeResourcesCapacity) {
1823
1823
  bookingLeft = 0;
1824
1824
  count = 0;
1825
1825
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.277",
4
+ "version": "0.0.278",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",