diff --git a/src/forge/Newfile/UserSubmitComponent.js b/src/forge/Newfile/UserSubmitComponent.js
index e24d167b..956ec363 100644
--- a/src/forge/Newfile/UserSubmitComponent.js
+++ b/src/forge/Newfile/UserSubmitComponent.js
@@ -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 {