getCheckboxProps(record) {
return {
props: {
disabled: record.state !== 'apply',
},
};
}
<a-table
:row-selection="{
selectedRowKeys: selectedRowKeys,
onChange: onSelectChange,
type: 'checkbox',
getCheckboxProps: getCheckboxProps,
}"
></a-table>