forked from Gitlink/forgeplus-react
remove
This commit is contained in:
parent
5c91569bac
commit
fac62fc99e
|
|
@ -59,7 +59,7 @@ class UserSubmitComponent extends Component {
|
|||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
this.setState({ isSpin: false });
|
||||
this.setState({ isSpin : false });
|
||||
console.log(error);
|
||||
});
|
||||
} else {
|
||||
|
|
@ -89,7 +89,6 @@ class UserSubmitComponent extends Component {
|
|||
.then((result) => {
|
||||
this.setState({ isSpin: false });
|
||||
if (result.data && result.data.status === 1) {
|
||||
debugger;
|
||||
let url = `/projects/${owner}/${projectsId}${(values.branchname ? `/branch/${values.branchname}` : ((currentBranch || branch) ? `/branch/${currentBranch || branch}`:""))}`;
|
||||
this.props.history.push(url);
|
||||
this.props.showNotification("文件修改成功!");
|
||||
|
|
@ -175,8 +174,7 @@ class UserSubmitComponent extends Component {
|
|||
</Radio>
|
||||
<Radio value="1">
|
||||
<Icon type="pull-request" className="mr5" />
|
||||
为此提交创建一个<span className="font-bd">新的分支</span>
|
||||
并发起合并请求
|
||||
为此提交创建一个<span className="font-bd">新的分支</span>并发起合并请求
|
||||
</Radio>
|
||||
</Radio.Group>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ class UploadFile extends Component {
|
|||
{...this.props}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<UserSubmitComponent
|
||||
{...this.props}
|
||||
|
|
|
|||
Loading…
Reference in New Issue