From 8afd9439939858cafa9d73933d116ec4f4ae4771 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 2 Apr 2023 18:06:37 +0800 Subject: [PATCH] [change] app menu --- flows/app/menu.flow.json | 140 ++++++++++++++++++++++----------------- 1 file changed, 80 insertions(+), 60 deletions(-) diff --git a/flows/app/menu.flow.json b/flows/app/menu.flow.json index 8a20285..5a205a0 100644 --- a/flows/app/menu.flow.json +++ b/flows/app/menu.flow.json @@ -1,64 +1,84 @@ { "name": "APP Menu", "nodes": [], - "output": [ - { - "id": 1, - "blocks": 0, - "icon": "icon-activity", - "name": "图表", - "parent": null, - "path": "/x/Chart/dashboard", - "visible_menu": 0 - }, - { - "id": 2, - "blocks": 0, - "icon": "icon-book", - "name": "表格", - "parent": null, - "path": "/x/Table/pet", - "visible_menu": 1, - "children": [ - { - "blocks": 0, - "icon": "icon-book", - "name": "宠物列表", - "id": 2010, - "parent": 2, - "path": "/x/Table/pet", - "visible_menu": 1 - } - ] - }, - { - "id": 2, - "blocks": 0, - "icon": "icon-clipboard", - "name": "表单", - "parent": null, - "path": "/x/Form/pet/1/edit", - "visible_menu": 1, - "children": [ - { - "blocks": 0, - "icon": "icon-clipboard", - "name": "编辑模式", - "id": 2010, - "parent": 2, - "path": "/x/Form/pet/1/edit", - "visible_menu": 1 - }, - { - "blocks": 0, - "icon": "icon-clipboard", - "name": "查看模式", - "id": 2010, - "parent": 2, - "path": "/x/Form/pet/1/view", - "visible_menu": 1 - } - ] - } - ] + "output": { + "setting": [ + { + "icon": "icon-settings", + "id": 999999, + "name": "设置", + "path": "/x/Form/pet/1/edit", + "dot": true, + "children": [ + { + "id": 10002, + "name": "系统设置", + "badge": 24, + "path": "/x/Form/pet/1/edit" + }, + { "id": 10002, "name": "系统设置", "path": "/setting" } + ] + } + ], + "items": [ + { + "id": 1, + "blocks": 0, + "icon": "icon-activity", + "name": "图表", + "parent": null, + "path": "/x/Chart/dashboard", + "visible_menu": 0 + }, + { + "id": 2, + "blocks": 0, + "icon": "icon-book", + "name": "表格", + "parent": null, + "path": "/x/Table/pet", + "visible_menu": 1, + "children": [ + { + "blocks": 0, + "icon": "icon-book", + "name": "宠物列表", + "id": 2010, + "parent": 2, + "path": "/x/Table/pet", + "visible_menu": 1 + } + ] + }, + { + "id": 2, + "blocks": 0, + "icon": "icon-clipboard", + "name": "表单", + "parent": null, + "path": "/x/Form/pet/1/edit", + "visible_menu": 1, + "children": [ + { + "blocks": 0, + "icon": "icon-clipboard", + "name": "编辑模式", + "id": 2010, + "parent": 2, + "path": "/x/Form/pet/1/edit", + "visible_menu": 1 + }, + { + "blocks": 0, + "icon": "icon-clipboard", + "name": "查看模式", + "id": 2010, + "parent": 2, + "path": "/x/Form/pet/1/view", + "visible_menu": 1 + } + ] + } + ] + } }