fix: 修复table组件半选状态异常的缺陷

--bug=1039819 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039819
This commit is contained in:
teukkk 2024-04-22 17:41:15 +08:00 committed by Craftsman
parent e6ce96f3a2
commit e0b5265e73

View File

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