Skip to content

Commit

Permalink
fix: routes
Browse files Browse the repository at this point in the history
  • Loading branch information
xjh22222228 committed Jan 20, 2022
1 parent 8717c94 commit 11d1345
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/router/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,19 @@ export function MainRoutes() {
}} />
},
{
path: 'memorandum/update/:id',
path: 'memorandum/create',
element: <PrivateRoute element={MemorandumCreate} meta={{
requiresAuth: true,
title: '备忘录创建'
}} />
},
{
path: 'memorandum/update/:id',
element: <PrivateRoute element={MemorandumCreate} meta={{
requiresAuth: true,
title: '备忘录更新'
}} />
},
{
path: 'memorandum/detail/:id',
element: <PrivateRoute element={MemorandumDetail} meta={{
Expand Down

1 comment on commit 11d1345

@vercel
Copy link

@vercel vercel bot commented on 11d1345 Jan 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.