From 39ab910fe59480a35ebca316cd66e3995e70d4ed Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 13 九月 2024 11:58:49 +0800 Subject: [PATCH] 支持刷新低代码, --- src/api/login/UserMenuData.ts | 110 +++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 86 insertions(+), 24 deletions(-) diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts index 76753a9..03c5c0a 100644 --- a/src/api/login/UserMenuData.ts +++ b/src/api/login/UserMenuData.ts @@ -6,7 +6,7 @@ Name: '浣庝唬鐮�', Path: '', Permission: '', - Icon: 'ele-Memo', + Icon: 'ele-Compass', IsIframe: false, OutLink: '', IsHide: false, @@ -14,7 +14,6 @@ SortCode: 1, Description: '', Children: [ - { Children: [], ID: '3', @@ -23,7 +22,7 @@ Name: '椤甸潰绠$悊', Path: '/home', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ele-Memo', IsIframe: false, OutLink: '', IsHide: false, @@ -41,28 +40,12 @@ Permission: '', Icon: 'ywifont ywicon-a-appround15', IsIframe: true, - OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode', + OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=33', IsHide: true, Weight: 0, SortCode: 2, Description: '', - } - // { - // Children: [], - // ID: '2', - // ParentID: '1742436890822447104', - // Type: 2, - // Name: 'SQL缂栬緫鍣�', - // Path: '/lowCode/sqlAmis/edit', - // Permission: '', - // Icon: 'ywifont ywicon-a-appround15', - // IsIframe: false, - // OutLink: '', - // IsHide: true, - // Weight: 0, - // SortCode: 2, - // Description: '', - // }, + }, ], }, { @@ -72,7 +55,7 @@ Name: '鏁版嵁涓績', Path: '', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-shujuzhongxin', IsIframe: false, OutLink: '', IsHide: false, @@ -88,7 +71,7 @@ Name: '鏁版嵁绠$悊', Path: '/graph/graphIndex', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-shujuguanli', IsIframe: false, IsHide: false, Weight: 0, @@ -133,7 +116,7 @@ Name: '鐭ヨ瘑绱㈠紩', Path: '/knowledge/knowledgeIndex', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-changyonggongjuzhishisuoyin', IsIframe: false, IsHide: false, Weight: 0, @@ -170,6 +153,85 @@ SortCode: 2, Description: '', }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, + Name: '鏌ョ湅鐭ヨ瘑搴�', + Path: '/knowledge/viewKnowledge', + Permission: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, + Name: '鏌ョ湅鏂囦欢鍧�', + Path: '/knowledge/viewSegmentationFile', + Permission: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, + Name: '鏌ョ湅鏂囦欢', + Path: '/knowledge/viewFile', + Permission: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], + }, + { + ID: '3', + ParentID: '0', + Type: 1, + Name: '绯荤粺璁剧疆', + Path: '', + Permission: '', + Icon: 'ele-Compass', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 1, + Description: '', + Children: [ + { + Children: [], + ID: '4', + ParentID: '3', + Type: 2, + Name: '鎰忓悜鎻愮ず', + Path: '/supervisorPrompt', + Permission: '', + Icon: 'ele-Memo', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], }, ]; -- Gitblit v1.9.3