mirror of https://github.com/openspug/spug
A 新增应用管理页面的查看配置权限
parent
5610bf1fd1
commit
9dd1ee8ae6
|
@ -123,7 +123,7 @@ class ComTable extends React.Component {
|
|||
title: '操作',
|
||||
render: info => (
|
||||
<span>
|
||||
<LinkButton auth="deploy.app.edit"
|
||||
<LinkButton auth="deploy.app.config"
|
||||
onClick={e => store.showExtForm(e, record.id, info, false, true)}>查看</LinkButton>
|
||||
<Divider type="vertical"/>
|
||||
<LinkButton auth="deploy.app.edit" onClick={e => store.showExtForm(e, record.id, info)}>编辑</LinkButton>
|
||||
|
|
|
@ -57,6 +57,7 @@ export default [{
|
|||
{key: 'add', label: '新建应用'},
|
||||
{key: 'edit', label: '编辑应用'},
|
||||
{key: 'del', label: '删除应用'},
|
||||
{key: 'config', label: '查看配置'},
|
||||
]
|
||||
}, {
|
||||
key: 'request',
|
||||
|
|
Loading…
Reference in New Issue