Browse Source

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

shaogen1995 2 năm trước cách đây
mục cha
commit
7cd65bbed7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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]);