diff --git a/src/page/Project/Sensitive/components/SensitiveColumn/index.tsx b/src/page/Project/Sensitive/components/SensitiveColumn/index.tsx index fc31dd110..144eca9d8 100644 --- a/src/page/Project/Sensitive/components/SensitiveColumn/index.tsx +++ b/src/page/Project/Sensitive/components/SensitiveColumn/index.tsx @@ -482,8 +482,15 @@ const SensitiveColumn = ({ }), //删除失败 ); } - - tableRef.current?.reload?.(); + const { page } = sensitiveColumn; + const newCurrent = Math.ceil((page?.totalElements - ids?.length) / page?.size); + tableRef.current?.reload?.({ + pagination: { + current: newCurrent >= page?.number ? page?.number : newCurrent, + pageSize: page?.size, + }, + pageSize: page?.size, + }); tableRef.current?.resetSelectedRows(); setSubmiting(false); }