fix: 表格勾选翻页取消

This commit is contained in:
TsMask
2023-09-22 14:48:27 +08:00
parent cbe769f26b
commit 0118e5d1b8
14 changed files with 16 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ let tableColumns: ColumnsType = [
dataIndex: 'groupName',
key: 'groupName',
align: 'center',
},
},
{
title: '创建时间',
dataIndex: 'createTime',
@@ -199,7 +199,7 @@ function fnTableSize({ key }: MenuInfo) {
}
/**表格斑马纹 */
function fnTableStriped(_record: unknown, index: number):any {
function fnTableStriped(_record: unknown, index: number): any {
return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
}
@@ -877,6 +877,7 @@ onMounted(() => {
:scroll="{ x: true }"
:row-selection="{
type: 'checkbox',
selectedRowKeys: tableState.selectedRowKeys,
onChange: fnTableSelectedRowKeys,
}"
>