From 278cdba3526077568ec59b75745cac77b895db6a Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 15 Dec 2021 09:46:39 +0800 Subject: [PATCH] commit clear --- src/forge/Merge/CreateMerge.js | 2 -- src/forge/Order/CopyDetail.js | 2 -- src/forge/Order/Detail.js | 16 ---------------- src/forge/Order/index.scss | 10 ---------- 4 files changed, 30 deletions(-) diff --git a/src/forge/Merge/CreateMerge.js b/src/forge/Merge/CreateMerge.js index 2dfa6f98..12907922 100644 --- a/src/forge/Merge/CreateMerge.js +++ b/src/forge/Merge/CreateMerge.js @@ -178,8 +178,6 @@ class CreateMerge extends Component { // compare接口,获取分支对比信息 compareProject = (sameProject, branchParams) => { - // const { project } = this.props; - // const { owner, projectsId } = this.props.match.params; const { pullOwner, pullBranch, mergeOwner, mergeBranch, projectId } = branchParams; let url = `/${mergeOwner}/${projectId}/compare`; diff --git a/src/forge/Order/CopyDetail.js b/src/forge/Order/CopyDetail.js index 906de4be..d1f628ed 100644 --- a/src/forge/Order/CopyDetail.js +++ b/src/forge/Order/CopyDetail.js @@ -4,8 +4,6 @@ import OrderItem from './order_form' function CopyDetail(props){ - const operate = props.match.params.operate; - console.log(operate); return( ) diff --git a/src/forge/Order/Detail.js b/src/forge/Order/Detail.js index b0c82acd..44f13439 100644 --- a/src/forge/Order/Detail.js +++ b/src/forge/Order/Detail.js @@ -124,22 +124,6 @@ class Detail extends Component { //复制 copydetail = () => { const { projectsId, orderId, owner } = this.props.match.params; - // const url = `/${owner}/${projectsId}/issues/${orderId}/copy.json`; - // axios - // .post(url, { - // project_id: projectsId, - // id: orderId, - // }) - // .then((result) => { - // if (result) { - // this.props.history.push( - // `/${owner}/${projectsId}/issues/${result.data.issue_id}/copyetail` - // ); - // } - // }) - // .catch((error) => { - // console.log(error); - // }); this.props.history.push( `/${owner}/${projectsId}/issues/${orderId}/copyetail` ); diff --git a/src/forge/Order/index.scss b/src/forge/Order/index.scss index fc88d54d..124c1fdb 100644 --- a/src/forge/Order/index.scss +++ b/src/forge/Order/index.scss @@ -49,16 +49,6 @@ justify-content: center } } -// .statusTag{ -// display: block; -// height: 24px; -// line-height: 24px; -// border-radius: 4px; -// padding:0px 12px; -// color: #fff; -// margin:3px 0px 0px 10px; -// } - .updateBtn{ display: block; width:60px;