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
797b1028
Commit
797b1028
authored
1 year ago
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改功能路径配置
parent
02550961
Pipeline
#74154
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
TreeSelect.jsx
src/pages/productCenter/webConfig/menuconfig/TreeSelect.jsx
+11
-2
No files found.
src/pages/productCenter/webConfig/menuconfig/TreeSelect.jsx
View file @
797b1028
import
React
,
{
useState
,
useEffect
,
forwardRef
,
useImperativeHandle
}
from
'react'
;
import
{
GetWebMenuInfo
}
from
'@/services/webConfig/api'
;
import
{
message
,
Input
,
Tree
,
Empty
,
Tooltip
}
from
'antd'
;
import
{
message
,
Input
,
Tree
,
Empty
,
Tooltip
,
Tag
}
from
'antd'
;
import
lodash
from
'lodash'
;
import
{
FolderFilled
,
FileOutlined
,
InfoCircleOutlined
,
HomeOutlined
}
from
'@ant-design/icons'
;
import
styles
from
'./TreeSelect.less'
;
...
...
@@ -89,7 +89,16 @@ const TreeSelect = (props, ref) => {
param
:
item
,
title
:
(
<
div
className=
{
styles
.
treeLine
}
>
{
item
.
shortName
}
{
item
.
function
}
{
item
.
state
===
'测试'
?
(
<
Tag
color=
"gold"
style=
{
{
marginLeft
:
'5px'
}
}
>
{
item
.
state
}
</
Tag
>
)
:
(
<
Tag
color=
"cyan"
style=
{
{
marginLeft
:
'5px'
}
}
>
{
item
.
state
}
</
Tag
>
)
}
<
Tooltip
title=
{
item
.
desc
}
overlayStyle=
{
{
maxWidth
:
350
}
}
>
<
InfoCircleOutlined
style=
{
{
color
:
'#40a9ff'
,
padding
:
'2px 2px 0 0'
,
marginLeft
:
'5px'
}
}
...
...
This diff is collapsed.
Click to expand it.
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