Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
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
ReactWeb5
CivManage
Commits
6f8d9dbe
Commit
6f8d9dbe
authored
Mar 22, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '新建表逻辑判断优化'
parent
5dddd598
Pipeline
#69655
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
ChooseTableType.jsx
...smanager/base/tablemanager/components/ChooseTableType.jsx
+16
-12
No files found.
src/pages/bsmanager/base/tablemanager/components/ChooseTableType.jsx
View file @
6f8d9dbe
...
...
@@ -42,18 +42,22 @@ const ChooseTableType = props => {
<
div
className=
{
styles
.
groupName
}
>
{
item
}
</
div
>
</
div
>
<
div
className=
{
styles
.
tableContent
}
>
{
tableList
[
item
].
map
(
ele
=>
(
<
div
className=
{
styles
.
tableBox
}
key=
{
ele
.
value
}
onClick=
{
()
=>
createTable
(
ele
.
value
)
}
>
<
div
className=
{
styles
.
imgBox
}
>
<
img
src=
{
`${window.location.origin}/civmanage/${ele.icon}`
}
alt=
""
/>
</
div
>
<
div
className=
{
styles
.
title
}
>
{
ele
.
value
}
</
div
>
</
div
>
))
}
{
tableList
[
item
].
map
(
ele
=>
{
if
(
!
ele
.
hidden
)
{
return
(
<
div
className=
{
styles
.
tableBox
}
key=
{
ele
.
value
}
onClick=
{
()
=>
createTable
(
ele
.
value
)
}
>
<
div
className=
{
styles
.
imgBox
}
>
<
img
src=
{
`${window.location.origin}/civmanage/${ele.icon}`
}
alt=
""
/>
</
div
>
<
div
className=
{
styles
.
title
}
>
{
ele
.
value
}
</
div
>
</
div
>
);
}
})
}
</
div
>
</
div
>
))
}
...
...
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