Commit 075a6005 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复 totalCount 没有报错的问题

parent 65760210
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-18 18:30:50
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-04 13:48:09
* @LastEditTime: 2021-09-27 10:53:09
* @Description: 内、外部流传记录
*/
import React, { useEffect, useState } from 'react';
......@@ -220,7 +220,7 @@ const FlowRecords: React.FC<IProps> = (props: IProps) => {
? {
current: outerPage,
pageSize: outerSize,
total: outerList.totalCount,
total: outerList?.totalCount,
}
: null
)}
......@@ -238,7 +238,7 @@ const FlowRecords: React.FC<IProps> = (props: IProps) => {
? {
current: innerPage,
pageSize: innerSize,
total: innerList.totalCount,
total: innerList?.totalCount,
}
: null
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment