mirror of https://github.com/openspug/spug
fix issue
parent
a3702b9905
commit
7dbb2480c6
|
@ -115,7 +115,9 @@ function ComTable() {
|
|||
</Action>;
|
||||
case '1':
|
||||
return <Action>
|
||||
<Action.Button auth="deploy.request.do" onClick={() => store.showConsole(info)}>发布</Action.Button>
|
||||
<Popconfirm title="确认要执行该发布申请?" onConfirm={e => handleDeploy(e, info)}>
|
||||
<Action.Button auth="deploy.request.do">发布</Action.Button>
|
||||
</Popconfirm>
|
||||
<Action.Button auth="deploy.request.del" onClick={() => handleDelete(info)}>删除</Action.Button>
|
||||
</Action>;
|
||||
case '2':
|
||||
|
|
|
@ -74,7 +74,7 @@ export default function () {
|
|||
if (history.location.state && history.location.state['from']) {
|
||||
history.push(history.location.state['from'])
|
||||
} else {
|
||||
history.push('/welcome/index')
|
||||
history.push('/home')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue