🐛 fix: 修复checkbox当前值比min少的时候,无法勾选的问题

pull/21847/head
zhangzhenfei 2022-05-06 15:24:06 +08:00
parent 2f4f6962c6
commit 031cd074e0
1 changed files with 1 additions and 0 deletions

View File

@ -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));