forge
caicai8 5 years ago
parent 7efe4944a3
commit e298794fb4

@ -79,11 +79,11 @@ class New extends Component{
const url = `/projects/${projectsId}/issues.json`; const url = `/projects/${projectsId}/issues.json`;
axios.post(url,{ axios.post(url,{
...values, ...values,
attachment_ids:fileList, attachment_ids:fileList
author_id:current_user.user_id
}).then(result=>{ }).then(result=>{
if(result){ if(result){
this.props.showNotification("工单创建成功!");
this.props.history.push(`/projects/${projectsId}/orders`);
} }
}).catch(error=>{ }).catch(error=>{
console.log(error); console.log(error);

Loading…
Cancel
Save