From 73a5e692e3401695dea8d602cca3cadbc2934db9 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 05 九月 2024 15:38:08 +0800 Subject: [PATCH] 集成 amis编辑 --- src/api/login/UserMenuData.ts | 64 +++++++++++++++++++++++-------- 1 files changed, 47 insertions(+), 17 deletions(-) diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts index adaa400..624da25 100644 --- a/src/api/login/UserMenuData.ts +++ b/src/api/login/UserMenuData.ts @@ -24,7 +24,7 @@ Permission: '', Icon: 'ywifont ywicon-a-appround15', IsIframe: true, - OutLink: 'http://101.133.133.173:8021/', + OutLink: '/amis-editor/index.html?session={token}', IsHide: false, Weight: 0, SortCode: 2, @@ -46,22 +46,22 @@ 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: '', - }, + // { + // 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: '', + // }, ], }, { @@ -139,6 +139,36 @@ SortCode: 2, Description: '', }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, + Name: '鍒涘缓鐭ヨ瘑搴�', + Path: '/knowledge/addKnowledge', + 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/editKnowledge', + Permission: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, ], }, ]; -- Gitblit v1.9.3