File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff 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环境和依赖
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments