let config = { "entity": null, "childs": [ { "entity": { "id": 1, //id标识 "title": "中心首页", //菜单标题 "icon": "el-icon-s-home",//菜单logo "url": "/views/dashboard",//菜单路径 }, }, { "entity": { "id": 2, "title": "我的钱包", "icon": "el-icon-bank-card", "url": "example", }, "childs": [ { "entity": { "id": 2-1, "title": "我的账户", "url": "account", }, "childs": null }, { "entity": { "id": 2-2, "title": "我的卡券", "url": "cardticket", } }, ] }, { "entity": { "id": 3, "title": "我的订单", "icon": "el-icon-tickets", "url": "order", }, }, { "entity": { "id": 4, "title": "欠费补缴", "icon": "el-icon-document-checked", "url": "payback", } }, { "entity": { "id": 5, "title": "我的车辆", "icon": "el-icon-truck", "url": "mycar", } }, { "entity": { "id": 6, "title": "个人中心", "icon": "el-icon-s-custom", "url": "mycar", }, "childs": [ { "entity": { "id": 6-1, "title": "个人资料", "url": "information", }, "childs": null }, { "entity": { "id": 6-2, "title": "我的评价", "url": "myevaluate", } }, ] }, ] } export default config