Browse Source

Merge pull request #42472 in DEC/fineui from final/11.0 to persist/11.0

* commit '8037b0e80ad817a13fc6379210d05acdb49f7def':
  BI-105186:复选下拉框全选逻辑判断错误,type:2设置全选时,判断全选按钮选择状态需考虑选项
master
superman 3 years ago
parent
commit
17ea2e3295
  1. 2
      src/case/list/list.select.js

2
src/case/list/list.select.js

@ -94,7 +94,7 @@ BI.SelectList = BI.inherit(BI.Widget, {
var hasNext = this.list.hasNext();
var isAlreadyAllSelected = this.toolbar.isSelected();
var isHalf = selectLength > 0 && notSelectLength > 0;
var allSelected = isAlreadyAllSelected;
var allSelected = selectLength > 0 && notSelectLength <= 0 && (!hasNext || isAlreadyAllSelected);
if (this.isAllSelected() === false) {
hasNext && (isHalf = selectLength > 0);

Loading…
Cancel
Save