Skip to content

Commit 3ecd4ea

Browse files
committed
update README.md
1 parent 8476d56 commit 3ecd4ea

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Overview
2828

2929
![权限编辑](https://static-2.loacg.com/open/static/github/20180916-154950.png)
3030

31+
权限路由控制流程
32+
33+
![权限结构](https://static-2.loacg.com/open/static/github/permissions.png)
3134

3235

3336
环境和依赖

src/router/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,9 @@ const asyncRouterMap = [
131131
> 1. 请注意 `component: () => import('..') ` 方式引入路由的页面组件为 懒加载模式。具体可以看 [Vue 官方文档](https://router.vuejs.org/zh/guide/advanced/lazy-loading.html)
132132
> 2. 增加新的路由应该增加在 '/' (index) 路由的 `children`
133133
> 3. `permission` 可以进行自定义修改,只需要对这个模块进行自定义修改即可 [src/store/modules/permission.js#L10](https://github.com/sendya/ant-design-pro-vue/blob/master/src/store/modules/permission.js#L10)
134+
135+
136+
137+
附权限路由结构:
138+
139+
![权限结构](https://static-2.loacg.com/open/static/github/permissions.png)

0 commit comments

Comments
 (0)