Merge branch '2.0'

This commit is contained in:
zhigang.li@tendcloud.com 2018-11-05 14:33:57 +08:00
commit b5b0b0c123
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import parentView from '@/components/parent-view'
* 可以传入一个回调函数参数是当前路由对象例子看动态路由和带参路由
* hideInBread: (false) 设为true后此级路由将不会出现在面包屑中示例看QQ群路由配置
* hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
* notCache: (false) 设为true后页面不会缓存
* notCache: (false) 设为true后页面在切换标签后不会缓存如果需要缓存无需设置这个字段而且需要设置页面组件name属性和路由配置的name一致
* access: (null) 可访问该页面的权限数组当前路由设置的权限会影响子路由
* icon: (-) 该页面在左侧菜单面包屑和标签导航处显示的图标如果是自定义图标需要在图标名称前加下划线'_'
* beforeCloseName: (-) 设置该字段则在关闭当前tab页时会去'@/router/before-close.js'里寻找该字段名对应的方法作为关闭前的钩子函数