Browse Source

检查项批量删除选择优化

master
liujiangyong 2 years ago
parent
commit
14fcb4920a
  1. 5
      web/client/src/sections/patrolManage/containers/checkItems.js

5
web/client/src/sections/patrolManage/containers/checkItems.js

@ -139,7 +139,10 @@ function CheckItems(props) {
selectedRowKeys: select?.map(v => v.id) || [],
onChange: (_, selectedRows) => {
setSelect(selectedRows)
}
},
getCheckboxProps: (record) => ({
disabled: record && record.patrolTemplates && record.patrolTemplates.length,
}),
}}
/>
{

Loading…
Cancel
Save