From 2299e7cefbd8068e4066711bdefe092bdc79d11c Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Fri, 27 Mar 2020 17:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 55 ++++++++++++++++++++++----------------- src/forge/Order/Detail.js | 2 +- 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7d3b9780..efce6d8f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + - + - - + + @@ -36,11 +36,11 @@ - + - - + + @@ -147,9 +147,9 @@ @@ -181,6 +181,13 @@ + + + + + + + @@ -240,18 +247,18 @@ - + - - + @@ -264,7 +271,7 @@ - + @@ -683,16 +690,6 @@ - - - - - - - - - - @@ -705,8 +702,8 @@ - - + + @@ -716,5 +713,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/forge/Order/Detail.js b/src/forge/Order/Detail.js index 92f12979..2d42fe85 100644 --- a/src/forge/Order/Detail.js +++ b/src/forge/Order/Detail.js @@ -101,7 +101,7 @@ class Detail extends Component{ issue_id:data.id, attachment_ids:fileList }).then(result=>{ - if(result){ + if(result && result.journals_count > 0){ this.props.form.setFieldsValue({ content: "" });