From c95981ff1ce815becb658d3d79ca2ad1f9a532db Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Mon, 06 Apr 2020 18:13:50 +0800 Subject: [PATCH] 修改工作台排行榜 --- src/index.js | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/index.js b/src/index.js index 84a362c..6a201b6 100644 --- a/src/index.js +++ b/src/index.js @@ -49,25 +49,21 @@ <Content> <Switch> {/* 新建文档 */} - <Route path="/document/documentEdit" component={DocumentEdit} /> - + <Route path="/document/create" component={DocumentEdit} /> {/* 全部通知 */} <Route path="/index/workbench/announcement" component={Announcement} /> - {/* 首页 */} - <Route path="/index/workbench" component={Workbench} /> {/* 规章制度 */} - <Route path="/index/system" component={System} /> - - - - + <Route path="/index/rules" component={System} /> + + {/* 首页 */} + <Route path="/index" component={Workbench} /> + <Route path="/login" component={Login} /> - - <Route path="/" component={Index} /> + <Route path="/" component={Workbench} /> {/* 路由的页面重定向 */} - <Redirect to="/" component={Index} /> + <Redirect to="/" component={Workbench} /> </Switch> </Content> </Layout> -- Gitblit v1.8.0