@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.
- package/lib/cjs/select/foundation.js +1 -1
- package/lib/es/select/foundation.js +1 -1
- package/package.json +4659 -14
- package/select/foundation.ts +1 -1
|
@@ -485,7 +485,7 @@ class SelectFoundation extends _foundation.default {
|
|
|
485
485
|
label
|
|
486
486
|
}, rest));
|
|
487
487
|
selections.delete(label);
|
|
488
|
-
} else if (maxLimit && selections.size
|
|
488
|
+
} else if (maxLimit && selections.size >= maxLimit) {
|
|
489
489
|
this._adapter.notifyMaxLimit(Object.assign({
|
|
490
490
|
value,
|
|
491
491
|
label
|
|
@@ -476,7 +476,7 @@ export default class SelectFoundation extends BaseFoundation {
|
|
|
476
476
|
label
|
|
477
477
|
}, rest));
|
|
478
478
|
selections.delete(label);
|
|
479
|
-
} else if (maxLimit && selections.size
|
|
479
|
+
} else if (maxLimit && selections.size >= maxLimit) {
|
|
480
480
|
this._adapter.notifyMaxLimit(Object.assign({
|
|
481
481
|
value,
|
|
482
482
|
label
|