248 lines
4.5 KiB
JSON
248 lines
4.5 KiB
JSON
{
|
|
"code": 200,
|
|
"data": {
|
|
"userInfo": {
|
|
"userId": "1",
|
|
"userName": "Administrator"
|
|
},
|
|
"menuList": [{
|
|
"name": "vab",
|
|
"path": "/vab",
|
|
"meta": {
|
|
"title": "组件",
|
|
"icon": "el-icon-takeaway-box"
|
|
},
|
|
"children": [
|
|
{
|
|
"path": "/vab/drag",
|
|
"name": "drag",
|
|
"meta": {
|
|
"title": "拖拽排序"
|
|
},
|
|
"component": "vab/drag"
|
|
},
|
|
{
|
|
"path": "/vab/chart",
|
|
"name": "chart",
|
|
"meta": {
|
|
"title": "图表 Echarts"
|
|
},
|
|
"component": "vab/chart"
|
|
},
|
|
{
|
|
"path": "/vab/filterbar",
|
|
"name": "filterBar",
|
|
"meta": {
|
|
"title": "过滤器"
|
|
},
|
|
"component": "vab/filterBar"
|
|
},
|
|
{
|
|
"path": "/vab/print",
|
|
"name": "print",
|
|
"meta": {
|
|
"title": "打印"
|
|
},
|
|
"component": "vab/print"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "template",
|
|
"path": "/template",
|
|
"meta": {
|
|
"title": "模板",
|
|
"icon": "el-icon-files"
|
|
},
|
|
"children": [
|
|
{
|
|
"path": "/template/blank",
|
|
"name": "blank",
|
|
"meta": {
|
|
"title": "空白模板"
|
|
},
|
|
"component": "template/blank"
|
|
},
|
|
{
|
|
"path": "/template/list",
|
|
"name": "list",
|
|
"meta": {
|
|
"title": "普通列表"
|
|
},
|
|
"component": "template/list"
|
|
},
|
|
{
|
|
"path": "/template/sideList",
|
|
"name": "sideList",
|
|
"meta": {
|
|
"title": "分栏列表"
|
|
},
|
|
"component": "template/sideList"
|
|
},
|
|
{
|
|
"path": "/template/show/:id",
|
|
"name": "show",
|
|
"meta": {
|
|
"title": "详情",
|
|
"hidden": true
|
|
},
|
|
"component": "template/show"
|
|
},
|
|
{
|
|
"path": "/template/itemList",
|
|
"name": "itemList",
|
|
"meta": {
|
|
"title": "个性列表"
|
|
},
|
|
"component": "template/itemList"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "test",
|
|
"path": "/test",
|
|
"meta": {
|
|
"title": "实验室",
|
|
"icon": "el-icon-folder"
|
|
},
|
|
"children": []
|
|
},
|
|
{
|
|
"name": "setting",
|
|
"path": "/setting",
|
|
"meta": {
|
|
"title": "配置",
|
|
"icon": "el-icon-setting"
|
|
},
|
|
"children": [
|
|
{
|
|
"path": "/setting/system",
|
|
"name": "system",
|
|
"meta": {
|
|
"title": "系统设置"
|
|
},
|
|
"component": "setting/system"
|
|
},
|
|
{
|
|
"path": "/setting/user",
|
|
"name": "user",
|
|
"meta": {
|
|
"title": "用户管理"
|
|
},
|
|
"component": "setting/user"
|
|
},
|
|
{
|
|
"path": "/setting/role",
|
|
"name": "role",
|
|
"meta": {
|
|
"title": "角色管理"
|
|
},
|
|
"component": "setting/role"
|
|
},
|
|
{
|
|
"path": "/setting/dic",
|
|
"name": "dic",
|
|
"meta": {
|
|
"title": "字典管理"
|
|
},
|
|
"component": "setting/dic"
|
|
},
|
|
{
|
|
"path": "/setting/menu",
|
|
"name": "settingMenu",
|
|
"meta": {
|
|
"title": "菜单管理"
|
|
},
|
|
"component": "setting/menu"
|
|
},
|
|
{
|
|
"path": "/setting/client",
|
|
"name": "client",
|
|
"meta": {
|
|
"title": "应用管理"
|
|
},
|
|
"component": "setting/client"
|
|
},
|
|
{
|
|
"path": "/setting/log",
|
|
"name": "log",
|
|
"meta": {
|
|
"title": "系统日志"
|
|
},
|
|
"component": "setting/log"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"permissions": [
|
|
"list.add",
|
|
"list.edit",
|
|
"list.delete",
|
|
"user.add",
|
|
"user.edit",
|
|
"user.delete"
|
|
]
|
|
},
|
|
"message": ""
|
|
}
|