feature: 动态生成菜单栏

This commit is contained in:
zhengxinonly
2023-10-02 00:57:20 +08:00
parent 69a4955ce2
commit 20b611ac29
3 changed files with 42 additions and 14 deletions
+3 -3
View File
@@ -4,13 +4,13 @@
"image": "/static/admin/images/logo.png"
},
"menu": {
"data": "/static/admin/data/menu.json",
"data": "/api/v1/menu",
"method": "GET",
"accordion": true,
"collapse": false,
"control": false,
"controlWidth": 500,
"select": "10",
"select": "126",
"async": true
},
"tab": {
@@ -20,7 +20,7 @@
"preload": true,
"max": "30",
"index": {
"id": "10",
"id": "126",
"href": "view/analysis/index.html",
"title": "首页"
}