Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev

This commit is contained in:
sean 2017-08-29 11:17:58 +08:00
commit dccf34c3be
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,6 @@ class ProjectList extends Component {
message.success('创建成功! ');
this.props.history.push('/project/' + res.payload.data.data._id + '/interface/api');
}
}).catch(() => {
});
}
});

View File

@ -140,7 +140,7 @@ export function getProjectMemberList(id) {
// }
export function addProject(data) {
const { name, prd_host, basepath, desc, group_id, group_name, protocol, icon, color } = data;
const { name, prd_host, basepath, desc, group_id, group_name, protocol, icon, color, project_type } = data;
const param = {
name,
prd_host,
@ -150,7 +150,8 @@ export function addProject(data) {
group_id,
group_name,
icon,
color
color,
project_type
};
return {
type: PROJECT_ADD,