From a2b04f5ee2bdfa3d26426c326a9b0e94be545f39 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Mon, 06 Apr 2020 16:48:04 +0800 Subject: [PATCH] 新建文档 --- src/index.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index cad4e52..84a362c 100644 --- a/src/index.js +++ b/src/index.js @@ -25,6 +25,11 @@ import Announcement from './pages/index/Announcement'; //全部通知 + +import DocumentEdit from './pages/document/DocumentEdit'; //新建文档 + + + const { Content } = Layout; const history = createHashHistory(); @@ -43,13 +48,19 @@ </Switch> <Content> <Switch> - + {/* 新建文档 */} + <Route path="/document/documentEdit" component={DocumentEdit} /> + + {/* 全部通知 */} <Route path="/index/workbench/announcement" component={Announcement} /> {/* 首页 */} <Route path="/index/workbench" component={Workbench} /> + {/* 规章制度 */} <Route path="/index/system" component={System} /> - + + + <Route path="/login" component={Login} /> -- Gitblit v1.8.0