File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 50
50
| 参数 | 说明 | 类型 | 默认值 |
51
51
| ------------------- | ------------------------------------------------------------ | ------- | ------ |
52
52
| title | 路由标题, 用于显示面包屑, 页面标题 * 推荐设置 | string | - |
53
- | icon | 路由在 menu 上显示的图标 | string | - |
53
+ | icon | 路由在 menu 上显示的图标 | [ string,svg ] | - |
54
54
| keepAlive | 缓存该路由 | boolean | false |
55
55
| hidden | 配合` alwaysShow ` 使用,用于隐藏菜单时,提供递归到父菜单显示 选中菜单项_ (可参考 个人页 配置方式)_ | boolean | false |
56
56
| hiddenHeaderContent | * 特殊 隐藏 [ PageHeader] ( https://github.com/sendya/ant-design-pro-vue/blob/master/src/components/layout/PageHeader.vue#L14 ) 组件中的页面带的 面包屑和页面标题栏 | boolean | false |
57
57
| permission | 与项目提供的权限拦截匹配的权限,如果不匹配,则会被禁止访问该路由页面 | array | [ ] |
58
58
59
-
59
+ > 路由自定义 ` Icon ` 请引入自定义 ` svg ` Icon 文件,然后传递给路由的 ` meta.icon ` 参数即可
60
60
61
61
路由例子
62
62
----
You can’t perform that action at this time.
0 commit comments