From e298794fb453ed160560e2d46d8e1f6f09af9c31 Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Fri, 17 Jan 2020 17:20:27 +0800 Subject: [PATCH] liebiao --- public/react/src/forge/Order/New.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/react/src/forge/Order/New.js b/public/react/src/forge/Order/New.js index a3473195b..8ced05c0e 100644 --- a/public/react/src/forge/Order/New.js +++ b/public/react/src/forge/Order/New.js @@ -79,11 +79,11 @@ class New extends Component{ const url = `/projects/${projectsId}/issues.json`; axios.post(url,{ ...values, - attachment_ids:fileList, - author_id:current_user.user_id + attachment_ids:fileList }).then(result=>{ if(result){ - + this.props.showNotification("工单创建成功!"); + this.props.history.push(`/projects/${projectsId}/orders`); } }).catch(error=>{ console.log(error);