Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnyc-data-pro
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
hnyc-data-pro
Commits
77bee8c9
Commit
77bee8c9
authored
May 11, 2020
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改授权图标
parent
d2bbf3d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AssetListHelper.tsx
src/pages/assets/components/AssetListHelper.tsx
+2
-1
No files found.
src/pages/assets/components/AssetListHelper.tsx
View file @
77bee8c9
...
...
@@ -5,6 +5,7 @@ import { paginate } from '@/utils/pagination';
import
{
TableModel
}
from
'./AssetList'
;
import
{
CurrentUser
}
from
'@/models/user'
;
import
classNames
from
'classnames'
;
import
{
CheckOutlined
}
from
'@ant-design/icons'
;
import
styles
from
'../style.less'
;
// import { GetColumns } from '@/utils/ScrollableTable';
...
...
@@ -16,7 +17,7 @@ const despColumns = [
{
key
:
'privileged'
,
title
:
'已授权'
,
render
:
(
val
:
any
)
=>
(
val
.
privileged
===
true
?
<
Icon
type=
"key"
/>
:
<
span
>
无
</
span
>),
render
:
(
val
:
any
)
=>
(
val
.
privileged
===
true
?
<
CheckOutlined
className=
'text-primary'
/>
:
<
span
>
无
</
span
>),
},
{
key
:
'ordinalPosition'
,
dataIndex
:
'ordinalPosition'
,
title
:
'序号'
},
{
key
:
'name'
,
dataIndex
:
'name'
,
title
:
'名称'
},
...
...
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