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
599d6ec9
Commit
599d6ec9
authored
May 11, 2020
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决资产详情页授权问题
parent
4cee8af3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
config.ts
config/config.ts
+1
-0
AssetListHelper.tsx
src/pages/assets/components/AssetListHelper.tsx
+1
-1
No files found.
config/config.ts
View file @
599d6ec9
...
...
@@ -155,6 +155,7 @@ export default {
target
:
'http://139.198.127.54:18391'
,
// target: 'http://192.168.0.220',
// target: 'http://139.198.127.54:18392',
// target: 'http://192.168.0.216',
changeOrigin
:
true
,
},
},
...
...
src/pages/assets/components/AssetListHelper.tsx
View file @
599d6ec9
...
...
@@ -16,7 +16,7 @@ const despColumns = [
{
key
:
'privileged'
,
title
:
'已授权'
,
render
:
(
val
:
any
)
=>
(
val
===
true
?
<
Icon
type=
"key"
/>
:
<
span
>
无
</
span
>),
render
:
(
val
:
any
)
=>
(
val
.
privileged
===
true
?
<
Icon
type=
"key"
/>
:
<
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