Skip to content

Commit

Permalink
In wrappers: users => user
Browse files Browse the repository at this point in the history
  • Loading branch information
swaghua committed Mar 9, 2020
1 parent b3069fb commit 0efb7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/routing.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default (props) => {
}
```

这样,访问 `/user`,就通过 `useAuth` 做权限校验,如果通过,渲染 `src/pages/users`,否则跳转到 `/login`,由 `src/pages/login` 进行渲染。
这样,访问 `/user`,就通过 `useAuth` 做权限校验,如果通过,渲染 `src/pages/user`,否则跳转到 `/login`,由 `src/pages/login` 进行渲染。

### title

Expand Down

0 comments on commit 0efb7ed

Please sign in to comment.