补充路由配置注释

This commit is contained in:
zhigang.li@tendcloud.com 2018-11-01 18:29:49 +08:00
parent 096c1db65f
commit c45d437d3d
1 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,10 @@ import parentView from '@/components/parent-view'
/**
* iview-admin中meta除了原生参数外可配置的参数:
* meta: {
* title: { String|Number|Function } 显示在侧边栏和
* title: { String|Number|Function }
* 显示在侧边栏面包屑和标签栏的文字
* 使用'{{ 多语言字段 }}'形式结合多语言使用例子看多语言的路由配置;
* 可以传入一个回调函数参数是当前路由对象例子看动态路由和带参路由
* hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
* notCache: (false) 设为true后页面不会缓存
* access: (null) 可访问该页面的权限数组当前路由设置的权限会影响子路由