Skip to content

Commit

Permalink
docs: typo in routing.md, wrappers users => user (#4110)
Browse files Browse the repository at this point in the history
  • Loading branch information
swaghua committed Mar 9, 2020
1 parent ba98c2b commit 878caf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/routing.zh-CN.md
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 878caf9

Please sign in to comment.