From f2be69f4e3b3e17231c9eef6374db7b3cb3a64ef Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 6 Jul 2021 11:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=EF=BC=9A=E6=8B=A5=E6=9C=89?= =?UTF-8?q?=E8=80=85=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7=EF=BC=8C=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.js b/src/App.js index 30fd7802..de3bf88c 100644 --- a/src/App.js +++ b/src/App.js @@ -95,6 +95,10 @@ const ProjectIndex = Loadable({ // 此处仅维护前端可能的一级路由,不用进行项目或者组织判断的字段。 const keyWord = ["explore", "settings", "setting", "CCF", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search"]; +const ProjectIndex = Loadable({ + loader: () => import("./forge/Main/Index"), + loading: Loading, +}); class App extends Component { constructor(props) { super(props);