Browse Source

🐛查看操作记录的序号问题

shaogen1995 2 years ago
parent
commit
7cd65bbed7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/pages/ObjectSon/Object2/LookObject2/table.tsx

+ 2 - 0
src/pages/ObjectSon/Object2/LookObject2/table.tsx

@@ -32,6 +32,8 @@ function LookObject2Log({ id }: Props) {
   });
 
   useEffect(() => {
+    pageNumRef.current = tableSelect.pageNum;
+    pagePageRef.current = tableSelect.pageSize;
     dispatch(getObj2LogListAPI(tableSelect));
   }, [dispatch, tableSelect]);