Skip to content

Commit

Permalink
Update plugin-access.zh-CN.md
Browse files Browse the repository at this point in the history
修改错别字
  • Loading branch information
mrlmx committed Jan 8, 2021
1 parent 5b63f3c commit 0400f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins/plugin-access.zh-CN.md
Expand Up @@ -30,7 +30,7 @@ export default function(initialState) {

### 扩展的路由配置

配合 Layout 插件你可以很简单是实现针对某些页码的权限控制。如下所示,只有拥有了 canReadPageA (在 `src/access.ts` 中定义)权限,用户才可以访问该页面。否则会默认渲染 Layout 插件内置的权限错误页面。
配合 Layout 插件你可以很简单的实现针对某些页面的权限控制。如下所示,只有拥有了 canReadPageA (在 `src/access.ts` 中定义)权限,用户才可以访问该页面。否则会默认渲染 Layout 插件内置的权限错误页面。

```typescript
// config/route.ts
Expand Down

0 comments on commit 0400f22

Please sign in to comment.