初始化
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// 后台路由示例表字段说明
|
||||
const menu = {
|
||||
// 设置路由路径
|
||||
"path": "/home",
|
||||
// 命名路由
|
||||
"name": "home",
|
||||
// 设置路由组件
|
||||
"component": "home",
|
||||
"meta": {
|
||||
// 设置菜单名称,使用i18n引入,没有中文切换要求也可以直接填写
|
||||
"title": "message.router.home",
|
||||
// 设置外部嵌入外部链接
|
||||
"isLink": "",
|
||||
// 设置是否隐藏
|
||||
"isHide": false,
|
||||
// 设置是否缓存
|
||||
"isKeepAlive": true,
|
||||
// 设置是否一直固定头部不能被删除
|
||||
"isAffix": true,
|
||||
// 设置是否开启内嵌
|
||||
"isIframe": false,
|
||||
// 角色字段
|
||||
"roles": ["admin", "common"],
|
||||
// 设置图标
|
||||
"icon": "iconfont icon-shouye"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user