mirror of https://github.com/ElemeFE/element
🐛 fix: 修复checkbox当前值比min少的时候,无法勾选的问题
parent
2f4f6962c6
commit
031cd074e0
|
@ -92,6 +92,7 @@
|
|||
if (this.isGroup) {
|
||||
this.isLimitExceeded = false;
|
||||
(this._checkboxGroup.min !== undefined &&
|
||||
this.model.length >= this._checkboxGroup.min &&
|
||||
val.length < this._checkboxGroup.min &&
|
||||
(this.isLimitExceeded = true));
|
||||
|
||||
|
|
Loading…
Reference in New Issue