From e0b5265e734c54d30a09c4ac4d5e68c153598830 Mon Sep 17 00:00:00 2001 From: teukkk Date: Mon, 22 Apr 2024 17:41:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dtable=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=8D=8A=E9=80=89=E7=8A=B6=E6=80=81=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039819 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039819 --- frontend/src/components/pure/ms-table/select-all.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/pure/ms-table/select-all.vue b/frontend/src/components/pure/ms-table/select-all.vue index 25bb2d26e0..3c09c53e60 100644 --- a/frontend/src/components/pure/ms-table/select-all.vue +++ b/frontend/src/components/pure/ms-table/select-all.vue @@ -67,10 +67,9 @@ const indeterminate = computed(() => { // 有无勾选的 key,或非全选所有页且已选中的数量大于 0 且小于总数时是半选状态 return ( - props.excludeKeys.length > 0 || - (selectAllStatus.value !== SelectAllEnum.ALL && - props.selectedKeys.size > 0 && - props.selectedKeys.size < props.total) + selectAllStatus.value !== SelectAllEnum.ALL && + props.selectedKeys.size > 0 && + props.selectedKeys.size < props.total ); });