Sfoglia il codice sorgente

Merge branch 'feature_first_pages' of https://git.yishihui.com/Web/contentCooper into feature_first_pages

jihuaqiang 2 giorni fa
parent
commit
c0ce916c63
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/cooperationAccount/gzh/index.tsx

+ 2 - 2
src/views/cooperationAccount/gzh/index.tsx

@@ -15,7 +15,7 @@ interface DataType {
 
 interface AccountListResponse {
   objs: DataType[];
-  total: number;
+  totalSize: number;
   pageNum: number;
   pageSize: number;
 }
@@ -350,7 +350,7 @@ const Gzh: React.FC = () => {
         setPagination({
           current: pageNum,
           pageSize,
-          total: res.data.total || 0
+          total: res.data.totalSize || 0
         });
       } else {
         message.error(res.msg || '获取账号列表失败');