This commit is contained in:
2024-03-01 20:28:14 +08:00
commit 076c21dc36
491 changed files with 84482 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
import React from 'react';
import { Table } from 'antd';
import PropTypes from 'prop-types';
const columns = [
{
title: 'Group',
dataIndex: 'name',
key: 'name'
},
{
title: '项目',
dataIndex: 'project',
key: 'project'
},
{
title: '接口',
dataIndex: 'interface',
key: 'interface'
},
{
title: 'mock数据',
dataIndex: 'mock',
key: 'mock'
}
];
const StatisTable = props => {
const { dataSource } = props;
return (
<div className="m-row-table">
<h3 className="statis-title">分组数据详情</h3>
<Table
className="statis-table"
pagination={false}
dataSource={dataSource}
columns={columns}
/>
</div>
);
};
StatisTable.propTypes = {
dataSource: PropTypes.array
};
export default StatisTable;