commit clear

This commit is contained in:
caishi 2021-12-15 09:46:39 +08:00
parent e25de315f8
commit 278cdba352
4 changed files with 0 additions and 30 deletions

View File

@ -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`;

View File

@ -4,8 +4,6 @@ import OrderItem from './order_form'
function CopyDetail(props){
const operate = props.match.params.operate;
console.log(operate);
return(
<OrderItem form_type="copy" {...props}></OrderItem>
)

View File

@ -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`
);

View File

@ -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;