diff --git a/spug_web/src/pages/deploy/app/Table.js b/spug_web/src/pages/deploy/app/Table.js
index 4c7f400..b7ec5fb 100644
--- a/spug_web/src/pages/deploy/app/Table.js
+++ b/spug_web/src/pages/deploy/app/Table.js
@@ -41,16 +41,17 @@ class ComTable extends React.Component {
title: '操作',
render: info => (
- store.showExtForm(info.id)}>新建发布
+ store.showExtForm(e, info.id)}>新建发布
- store.showForm(info)}>编辑
+ store.showForm(e, info)}>编辑
- this.handleDelete(info)}>删除
+ this.handleDelete(e, info)}>删除
)
}];
- handleDelete = (text) => {
+ handleDelete = (e, text) => {
+ e.stopPropagation();
Modal.confirm({
title: '删除确认',
content: `确定要删除应用【${text['name']}】?`,
@@ -101,9 +102,9 @@ class ComTable extends React.Component {
title: '操作',
render: info => (
- store.showExtForm(record.id, info)}>编辑
+ store.showExtForm(e, record.id, info)}>编辑
- store.showExtForm(record.id, info, true)}>克隆配置
+ store.showExtForm(e, record.id, info, true)}>克隆配置
this.handleDeployDelete(info)}>删除
@@ -134,6 +135,7 @@ class ComTable extends React.Component {
return (
this.records[app_id]['deploys'] = res)
};
- showForm = (info) => {
+ showForm = (e, info) => {
+ if (e) e.stopPropagation();
this.record = info || {};
this.formVisible = true;
};
- showExtForm = (app_id, info, isClone) => {
+ showExtForm = (e, app_id, info, isClone) => {
+ if (e) e.stopPropagation();
this.page = 0;
this.app_id = app_id;
if (info) {