|
@@ -19,6 +19,7 @@ export const DagDataView: React.FC<IProps> = ({ data, info, changePage }) => {
|
|
|
};
|
|
|
})
|
|
|
: [];
|
|
|
+ const total = data ? data.total : 0;
|
|
|
const tableData: any = data
|
|
|
? data.dataList.map((item: any, index: number) => {
|
|
|
const formatData = {} as Record<string, any>;
|
|
@@ -49,7 +50,7 @@ export const DagDataView: React.FC<IProps> = ({ data, info, changePage }) => {
|
|
|
</div>
|
|
|
<div className="dataview_item">
|
|
|
<span className="dataview_label">数据条数</span>
|
|
|
- {tableData.length}
|
|
|
+ {total}
|
|
|
</div>
|
|
|
<div className="dataview_item">
|
|
|
<span className="dataview_label">创建时间</span>
|