fix issue

pull/330/head
vapao 2021-04-01 00:25:44 +08:00
parent a3702b9905
commit 7dbb2480c6
2 changed files with 4 additions and 2 deletions

View File

@ -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':

View File

@ -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')
}
}