Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
57318285
Commit
57318285
authored
Mar 01, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模型版本对比
parent
41f1cfa1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
9 deletions
+19
-9
VersionCompareHeader.jsx
src/view/Manage/Model/Component/VersionCompareHeader.jsx
+5
-1
VersionCompareIndex.jsx
src/view/Manage/Model/Component/VersionCompareIndex.jsx
+7
-4
VersionCompareTable.jsx
src/view/Manage/Model/Component/VersionCompareTable.jsx
+7
-4
No files found.
src/view/Manage/Model/Component/VersionCompareHeader.jsx
View file @
57318285
...
@@ -9,7 +9,11 @@ const VersionCompareHeader = (props) => {
...
@@ -9,7 +9,11 @@ const VersionCompareHeader = (props) => {
return
(
return
(
<
Typography
>
<
Typography
>
<
Title
level=
{
5
}
>
基本信息
</
Title
>
<
div
className=
'mb-3'
>
<
Paragraph
>
<
Title
level=
{
5
}
>
基本信息
</
Title
>
</
Paragraph
>
</
div
>
{
{
(
data
?.
heads
?.
tableHead
||
[]).
map
((
item
,
index
)
=>
{
(
data
?.
heads
?.
tableHead
||
[]).
map
((
item
,
index
)
=>
{
...
...
src/view/Manage/Model/Component/VersionCompareIndex.jsx
View file @
57318285
...
@@ -57,14 +57,17 @@ const VersionCompareIndex = (props) => {
...
@@ -57,14 +57,17 @@ const VersionCompareIndex = (props) => {
})
})
setTableData
(
newTableData
);
setTableData
(
newTableData
);
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
data
])
},
[
data
])
return
(
return
(
<
div
>
<
div
>
<
Typography
>
<
div
className=
'my-3'
>
<
Title
level=
{
5
}
>
数据表索引
</
Title
>
<
Typography
>
</
Typography
>
<
Title
level=
{
5
}
>
数据表索引
</
Title
>
</
Typography
>
</
div
>
<
Table
<
Table
columns=
{
columns
||
[]
}
columns=
{
columns
||
[]
}
dataSource=
{
tableData
}
dataSource=
{
tableData
}
...
...
src/view/Manage/Model/Component/VersionCompareTable.jsx
View file @
57318285
...
@@ -57,14 +57,17 @@ const VersionCompareTable = (props) => {
...
@@ -57,14 +57,17 @@ const VersionCompareTable = (props) => {
})
})
setTableData
(
newTableData
);
setTableData
(
newTableData
);
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
data
])
},
[
data
])
return
(
return
(
<
div
>
<
div
>
<
Typography
>
<
div
className=
'my-3'
>
<
Title
level=
{
5
}
>
数据表结构
</
Title
>
<
Typography
>
</
Typography
>
<
Title
level=
{
5
}
>
数据表结构
</
Title
>
</
Typography
>
</
div
>
<
Table
<
Table
columns=
{
columns
||
[]
}
columns=
{
columns
||
[]
}
dataSource=
{
tableData
}
dataSource=
{
tableData
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment