diff --git a/client/containers/Group/GroupList/GroupList.js b/client/containers/Group/GroupList/GroupList.js index 049547ae..ab38626e 100644 --- a/client/containers/Group/GroupList/GroupList.js +++ b/client/containers/Group/GroupList/GroupList.js @@ -167,10 +167,11 @@ export default class GroupList extends Component { showConfirm =()=> { let that = this; confirm({ - title: that.props.currGroup.group_name, - content:
- -
请输入分组名称:
+ title: "确认删除"+that.props.currGroup.group_name+"分组吗?", + content:
+ + +
请输入分组名称确认此操作:
, onOk() { let groupName = document.getElementById('group_name').value; @@ -184,6 +185,7 @@ export default class GroupList extends Component { } }, + iconType: 'delete', onCancel() { } }); } diff --git a/client/containers/Project/Interface/InterfaceList/Run.js b/client/containers/Project/Interface/InterfaceList/Run.js index efe341af..e6445f57 100644 --- a/client/containers/Project/Interface/InterfaceList/Run.js +++ b/client/containers/Project/Interface/InterfaceList/Run.js @@ -74,7 +74,7 @@ export default class Run extends Component { req_headers = [], req_body_type, req_query = [], - // req_params = [], + req_params = [], req_body_other = '', req_body_form = [] } = currInterface; @@ -101,7 +101,7 @@ export default class Run extends Component { this.setState({ method, domains, - pathParam: [{name: 'id', value: ''}], + pathParam: req_params.concat(), pathname, query: req_query.concat(), bodyForm: req_body_form.concat(),