Commit 425e5c11 authored by 前端-许佳敏's avatar 前端-许佳敏

路由接口定义

parent ec863e5b
/**
* @description 自定义路由类型
* @author xjm
* @date 2020-10-09
* @export
* @interface RouterChild
*/
export interface RouterChild {
path: string
/**
* @description 国际化对应的key
* @type {string}
* @memberof RouterChild
*/
name: string
icon?: string
routes?: RouterChild[]
component?: string
/**
* @description 是否在右侧菜单隐藏
* @type {boolean}
* @memberof RouterChild
*/
hideInMenu?: boolean
/**
* @description 是否禁用content内页中的margin, true为禁用
* @type {boolean}
* @memberof RouterChild
*/
noMargin?: boolean
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment