Commit 57318285 by zhaochengxiang

模型版本对比

parent 41f1cfa1
...@@ -9,7 +9,11 @@ const VersionCompareHeader = (props) => { ...@@ -9,7 +9,11 @@ const VersionCompareHeader = (props) => {
return ( return (
<Typography> <Typography>
<div className='mb-3'>
<Paragraph>
<Title level={5}>基本信息</Title> <Title level={5}>基本信息</Title>
</Paragraph>
</div>
{ {
(data?.heads?.tableHead||[]).map((item, index) => { (data?.heads?.tableHead||[]).map((item, index) => {
......
...@@ -58,13 +58,16 @@ const VersionCompareIndex = (props) => { ...@@ -58,13 +58,16 @@ const VersionCompareIndex = (props) => {
setTableData(newTableData); setTableData(newTableData);
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [ data ]) }, [ data ])
return ( return (
<div> <div>
<div className='my-3'>
<Typography> <Typography>
<Title level={5}>数据表索引</Title> <Title level={5}>数据表索引</Title>
</Typography> </Typography>
</div>
<Table <Table
columns={columns||[]} columns={columns||[]}
dataSource={tableData} dataSource={tableData}
......
...@@ -58,13 +58,16 @@ const VersionCompareTable = (props) => { ...@@ -58,13 +58,16 @@ const VersionCompareTable = (props) => {
setTableData(newTableData); setTableData(newTableData);
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [ data ]) }, [ data ])
return ( return (
<div> <div>
<div className='my-3'>
<Typography> <Typography>
<Title level={5}>数据表结构</Title> <Title level={5}>数据表结构</Title>
</Typography> </Typography>
</div>
<Table <Table
columns={columns||[]} columns={columns||[]}
dataSource={tableData} dataSource={tableData}
......
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