Unverified 提交 dda27477 作者: zhangcheng1164 提交者: GitHub

fix: 修复ColumnSetting中列展示复选框在所有普通列都处于选中状态时没有处于选中状态的bug (#2278) (#2280)

上级 1a8cdeb3
......@@ -213,7 +213,7 @@
const columns = getColumns();
const checkList = table
.getColumns({ ignoreAction: true })
.getColumns({ ignoreAction: true, ignoreIndex: true })
.map((item) => {
if (item.defaultHidden) {
return '';
......@@ -258,7 +258,7 @@
const indeterminate = computed(() => {
const len = plainOptions.value.length;
let checkedLen = state.checkedList.length;
unref(checkIndex) && checkedLen--;
// unref(checkIndex) && checkedLen--;
return checkedLen > 0 && checkedLen < len;
});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论