mirror of https://github.com/ElemeFE/element
fix: checkboxGroup组件设置min>=2 时无法选中
parent
5d7374bf16
commit
d1d160fb15
|
@ -91,9 +91,6 @@
|
|||
set(val) {
|
||||
if (this.isGroup) {
|
||||
this.isLimitExceeded = false;
|
||||
(this._checkboxGroup.min !== undefined &&
|
||||
val.length < this._checkboxGroup.min &&
|
||||
(this.isLimitExceeded = true));
|
||||
|
||||
(this._checkboxGroup.max !== undefined &&
|
||||
val.length > this._checkboxGroup.max &&
|
||||
|
|
Loading…
Reference in New Issue