forked from huge/frontEnd/hugeOA

Mr Ke
2020-04-06 91d2b58b9024c358a743e0b42ff53915fb6b8e09
src/index.js
@@ -51,17 +51,17 @@
              {/* 新建文档 */}
              <Route path="/document/create" component={DocumentEdit} />
              {/* 全部通知 */}
              <Route path="/index/workbench/announcement" component={Announcement} />
              {/* 首页 */}
              <Route path="/index" component={Workbench} />
              {/* 规章制度 */}
              <Route path="/index/rules" component={System} />
              {/* 首页 */}
              <Route path="/index" component={Workbench} />
              <Route path="/login" component={Login} />
              <Route path="/" component={Workbench} />
              {/* 路由的页面重定向 */}
              <Redirect to="/" component={Workbench} />
            </Switch>