原代码
const getCheckboxProps = (record: any) => {
return {
props: {
disabled: record.checkItemName === "板凳检查"
},
};
};
修改后的代码:
const getCheckboxProps = (record: any) => {
return {
disabled: record.checkItemName === "板凳检查"
};
};
去掉props属性问题解决!