139 lines
2.4 KiB
JSON
139 lines
2.4 KiB
JSON
{
|
|
"code": 200,
|
|
"data": {
|
|
"userInfo": {
|
|
"userId": "1",
|
|
"userName": "Administrator"
|
|
},
|
|
"menuList": [{
|
|
"name": "vab",
|
|
"path": "/vab",
|
|
"meta": {
|
|
"title": "组件",
|
|
"icon": "el-icon-takeaway-box"
|
|
},
|
|
"children": []
|
|
},
|
|
{
|
|
"name": "template",
|
|
"path": "/template",
|
|
"meta": {
|
|
"title": "模板",
|
|
"icon": "el-icon-files"
|
|
},
|
|
"children": [{
|
|
"path": "/template/list",
|
|
"name": "list",
|
|
"meta": {
|
|
"title": "列表"
|
|
},
|
|
"component": "list"
|
|
},
|
|
{
|
|
"path": "/template/show/:id",
|
|
"name": "show",
|
|
"meta": {
|
|
"title": "详情",
|
|
"hidden": true
|
|
},
|
|
"component": "show"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "other",
|
|
"path": "/other",
|
|
"meta": {
|
|
"title": "其他",
|
|
"icon": "el-icon-more"
|
|
},
|
|
"children": [
|
|
{
|
|
"path": "/link",
|
|
"name": "外部链接",
|
|
"meta": {
|
|
"title": "外部链接",
|
|
"icon": "el-icon-link"
|
|
},
|
|
"children": [
|
|
{
|
|
"path": "https://baidu.com",
|
|
"name": "百度",
|
|
"meta": {
|
|
"title": "百度",
|
|
"target": "_blank"
|
|
}
|
|
},
|
|
{
|
|
"path": "https://www.google.cn",
|
|
"name": "谷歌",
|
|
"meta": {
|
|
"title": "谷歌",
|
|
"target": "_blank"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/iframe",
|
|
"name": "Iframe",
|
|
"meta": {
|
|
"title": "Iframe",
|
|
"icon": "el-icon-position"
|
|
},
|
|
"children": [
|
|
{
|
|
"path": "https://vue3js.cn/docs/zh/",
|
|
"name": "VUE 3",
|
|
"meta": {
|
|
"title": "VUE 3"
|
|
}
|
|
},
|
|
{
|
|
"path": "https://element-plus.org?id=1",
|
|
"name": "Element Plus",
|
|
"meta": {
|
|
"title": "Element Plus"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/other/lala",
|
|
"name": "404",
|
|
"component": "lala",
|
|
"meta": {
|
|
"title": "模拟404"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "配置",
|
|
"path": "/setting",
|
|
"meta": {
|
|
"title": "配置",
|
|
"icon": "el-icon-setting"
|
|
},
|
|
"children": [{
|
|
"path": "/setting/1",
|
|
"name": "setting1",
|
|
"meta": {
|
|
"title": "系统设置"
|
|
},
|
|
"component": "lala"
|
|
}]
|
|
}
|
|
],
|
|
"permissions": [
|
|
"list.add",
|
|
"list.edit",
|
|
"list.delete",
|
|
"user.add",
|
|
"user.edit",
|
|
"user.delete"
|
|
]
|
|
},
|
|
"message": ""
|
|
}
|