diff --git a/src/forge/Main/version/New.jsx b/src/forge/Main/version/New.jsx
index 8adde9b0..b1d764af 100644
--- a/src/forge/Main/version/New.jsx
+++ b/src/forge/Main/version/New.jsx
@@ -224,7 +224,7 @@ export default Form.create()(
+
diff --git a/src/forge/Merge/merge_form.js b/src/forge/Merge/merge_form.js index d050116f..c6de9638 100644 --- a/src/forge/Merge/merge_form.js +++ b/src/forge/Merge/merge_form.js @@ -167,8 +167,8 @@ class MergeForm extends Component { this.setState({ isSpin: false, }); - const { pull_request_id } = result.data; - this.props.history.push(`/${owner}/${projectsId}/pulls/${pull_request_id}`); + const { pull_request_number } = result.data; + this.props.history.push(`/${owner}/${projectsId}/pulls/${pull_request_number}`); const { getDetail } = this.props; getDetail && getDetail(); } else { diff --git a/src/forge/Order/MilepostDetail.js b/src/forge/Order/MilepostDetail.js index f56945ca..eff19fb7 100644 --- a/src/forge/Order/MilepostDetail.js +++ b/src/forge/Order/MilepostDetail.js @@ -236,7 +236,7 @@ class MilepostDetail extends Component { 暂无截止时间 } - {data && data.percent && data.percent.toFixed(2)}%完成 + {data && (data.percent || data.percent===0) ? {data.percent > 0 ? data.percent.toFixed(2):data.percent}%完成 :"" }
展示你擅长、关注、感兴趣的专业范围,通过你参与项目、收藏项目、关注项目、复刻项目等数据来统计。
-