From 7cd6587d43dfda47b043c775ea9e67ee4c1bbd08 Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Tue, 14 Apr 2020 14:09:55 +0800 Subject: [PATCH] 跳转问题 --- src/index.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/index.js b/src/index.js index 4fd9219..83c8587 100644 --- a/src/index.js +++ b/src/index.js @@ -49,7 +49,7 @@ <Content> <Switch> {/* 新建文档 */} - <Route path="/document/create" component={DocumentEdit} /> + <Route path="/document/create/:id?" component={DocumentEdit} /> {/* 全部通知 */} <Route path="/index/workbench/announcement" component={Announcement} /> -- Gitblit v1.8.0