Browse Source

fix: 调整分页字段

ZhaoJun 1 năm trước cách đây
mục cha
commit
b2d7750771
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/pages/PurchaseAdmin/PurchaseList/DailyRecord/index.js

+ 1 - 1
src/pages/PurchaseAdmin/PurchaseList/DailyRecord/index.js

@@ -185,7 +185,7 @@ const DailyRecord = props => {
     if (date) {
       params = date;
     }
-    params.page = page;
+    params.currentPage = page;
     params.pageSize = pageSize;
     run(params);
     setPageInfo({ ...pageInfo, current: page, pageSize: pageSize });