From 3d6136bbbbc1499de56f60f84e34042eb9b5f981 Mon Sep 17 00:00:00 2001 From: caishi Date: Fri, 3 Sep 2021 17:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E9=A1=B9=E7=9B=AE=E4=B8=8D?= =?UTF-8?q?=E6=88=90=E5=8A=9F=EF=BC=8C=E9=9C=80=E8=A6=81=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/New/Index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/forge/New/Index.js b/src/forge/New/Index.js index 208d0367..aaaab6c8 100644 --- a/src/forge/New/Index.js +++ b/src/forge/New/Index.js @@ -209,17 +209,16 @@ class Index extends Component { user_id:owners_id }).then((result) => { if (result && result.data.id) { - this.setState({ - isSpin: false - }) projectsType && projectsType !== "mirror" && this.props.showNotification(`托管项目创建成功!`); this.props.history.push(`/${result.data.login}/${result.data.identifier}`); } + this.setState({ + isSpin: false + }) }).catch((error) => { this.setState({ isSpin: false }) - console.log(error); }) } else { this.setState({