Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xform
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
田翔
xform
Commits
6e46ce96
Commit
6e46ce96
authored
Apr 26, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/tianxiang/xform
parents
3602c00a
0540e3f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
index.js
.../Account/components/TablePack/components/TagPack/index.js
+14
-0
index.js
src/core/Account/components/TablePack/index.js
+5
-0
No files found.
src/core/Account/components/TablePack/components/TagPack/index.js
0 → 100644
View file @
6e46ce96
import
React
from
'react'
const
TagPack
=
(
props
)
=>
{
const
{
value
}
=
props
return
(
<
div
>
{
value
}
<
/div
>
)
}
export
default
TagPack
\ No newline at end of file
src/core/Account/components/TablePack/index.js
View file @
6e46ce96
...
...
@@ -2,6 +2,7 @@ import React, { useMemo } from 'react'
import
{
Table
,
Tooltip
}
from
'antd'
import
FileView
from
'./components/FileView'
import
CoordView
from
'./components/CoordView'
import
TagPack
from
'./components/TagPack'
const
TablePack
=
(
props
)
=>
{
...
...
@@ -15,6 +16,10 @@ const TablePack = (props) => {
return
<
CoordView
{...
props
}
/
>
}
if
([
'RadioButton'
,
'CheckBox'
].
includes
(
widget
))
{
return
<
TagPack
{...
props
}
/
>
}
return
(
<
div
>
{
value
}
<
/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