rsf-admin/src/page/task/TaskList.jsx
@@ -131,13 +131,7 @@ > <StyledDatagrid preferenceKey='task' bulkActionButtons={false // <> // <BulkResortButton /> // <BulkCancelButton /> // <BulkDeleteButton mutationMode={OPERATE_MODE} /> // </> } bulkActionButtons={false} rowClick={false} expand={<TaskPanel />} expandSingle={true} @@ -272,7 +266,6 @@ }; //取消任务 const cancleTask = async (row) => { console.log(row); const { data: { code, data, msg } } = await request.post(`/task/remove/` + row.id); if (code === 200) { notify(msg);