@pisell/pisellos 0.0.83 → 0.0.84

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.
@@ -2177,7 +2177,7 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
2177
2177
  // 在已经选定时间的情况下,只要canUseTime如果有一个 false 那就不可用
2178
2178
  if (!currentResourcesTimeSlotCanUsedArr.some(function (n) {
2179
2179
  return n === false;
2180
- })) {
2180
+ }) && currentResourcesCount >= count) {
2181
2181
  count = currentResourcesCount;
2182
2182
  }
2183
2183
  });
@@ -1516,7 +1516,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
1516
1516
  }
1517
1517
  currentResourcesTimeSlotCanUsedArr.push(res.usable);
1518
1518
  });
1519
- if (!currentResourcesTimeSlotCanUsedArr.some((n) => n === false)) {
1519
+ if (!currentResourcesTimeSlotCanUsedArr.some((n) => n === false) && currentResourcesCount >= count) {
1520
1520
  count = currentResourcesCount;
1521
1521
  }
1522
1522
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.83",
4
+ "version": "0.0.84",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",