From bc496c6d8b202be053a66247765668b641b6256a Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Thu, 2 Apr 2020 11:27:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9pr=E7=9A=84=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 21 +++++++++++---------- src/forge/Merge/MessageCount.js | 6 +++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b73c5f511..b424df457 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,6 +2,7 @@ + - issue-tag-show 创建 .map((item,key)=>{ .map((item,key) 评论成 - 该合并请求可以进行自动合并操作 没有 创建工单 可读权限 @@ -58,6 +57,8 @@ onMouseMove commitKey TextArea + 该合并请求可以进行自动合并操作 + body $PROJECT_DIR$ @@ -197,12 +198,12 @@ - + - @@ -220,8 +221,8 @@ - - + + @@ -727,8 +728,8 @@ - - + + diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js index 201b9c4c3..f3aa818c8 100644 --- a/src/forge/Merge/MessageCount.js +++ b/src/forge/Merge/MessageCount.js @@ -183,7 +183,7 @@ class MessageCount extends Component{ project_id:projectsId, id:data.pull_request.id, do:mergekey, - body:JSON.stringify(body), + body:body, title:title, }).then(result=>{ if(result){ @@ -378,7 +378,7 @@ class MessageCount extends Component{ render(){ const { projectsId,mergeId } = this.props.match.params; - const { data,journalsdata, page, limit, search_count, isSpin, isedit, showFiles , commentsContent , quillFlag } = this.state; + const { data,journalsdata, page, limit, search_count, isSpin, isedit, showFiles , commentsContent , quillFlag, body } = this.state; const { getFieldDecorator } = this.props.form; const { current_user } = this.props; const url = this.props.history.location.pathname; @@ -581,7 +581,7 @@ class MessageCount extends Component{ {/*onContentChange={this.changbodypr}*/} {/*/>*/} {/**/} -