mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 19:49:10 +08:00
fix: 修复table组件半选状态异常的缺陷
--bug=1039819 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039819
This commit is contained in:
parent
e6ce96f3a2
commit
e0b5265e73
@ -67,10 +67,9 @@
|
||||
const indeterminate = computed(() => {
|
||||
// 有无勾选的 key,或非全选所有页且已选中的数量大于 0 且小于总数时是半选状态
|
||||
return (
|
||||
props.excludeKeys.length > 0 ||
|
||||
(selectAllStatus.value !== SelectAllEnum.ALL &&
|
||||
selectAllStatus.value !== SelectAllEnum.ALL &&
|
||||
props.selectedKeys.size > 0 &&
|
||||
props.selectedKeys.size < props.total)
|
||||
props.selectedKeys.size < props.total
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user