@douyinfe/semi-foundation 2.90.10 → 2.90.12

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.
@@ -493,7 +493,7 @@ export default class SelectFoundation extends BaseFoundation<SelectAdapter> {
493
493
  if (selections.has(label)) {
494
494
  this._notifyDeselect(value, { value, label, ...rest });
495
495
  selections.delete(label);
496
- } else if (maxLimit && selections.size === maxLimit) {
496
+ } else if (maxLimit && selections.size >= maxLimit) {
497
497
  this._adapter.notifyMaxLimit({ value, label, ...omit(rest, '_scrollIndex') });
498
498
  return;
499
499
  } else {