nieyuge 2 일 전
부모
커밋
5813ad3b83
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 || '获取账号列表失败');