From 72f4bb17b70eb3d49835af8c1a4d217294d54419 Mon Sep 17 00:00:00 2001 From: dailer Date: Thu, 1 Aug 2019 10:26:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/main/resources/co?= =?UTF-8?q?m/fr/plugin/web/resources/js/bundle.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/plugin/web/resources/js/bundle.js | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/resources/com/fr/plugin/web/resources/js/bundle.js b/src/main/resources/com/fr/plugin/web/resources/js/bundle.js index ba7ddcc..bf39849 100644 --- a/src/main/resources/com/fr/plugin/web/resources/js/bundle.js +++ b/src/main/resources/com/fr/plugin/web/resources/js/bundle.js @@ -1,17 +1,17 @@ !(function () { // 示例,向menus中加入帆软官网. - // BI.config("dec.constant.menu.items", function (items) { - // items.push({ - // value: "fanruan", - // text: BI.i18nText("帆软"), - // cardType: { - // src: "http://www.fanruan.com/" - // }, - // cls: "fr-logo-font" - // }); - // return items; - // }); + BI.config("dec.constant.menu.items", function (items) { + items.push({ + value: "fanruan", + text: BI.i18nText("帆软"), + cardType: { + src: "http://www.fanruan.com/" + }, + cls: "fr-logo-font" + }); + return items; + }); // 示例,向管理系统节点加入帆软帮助文档 BI.config("dec.constant.management.navigation", function (items) { From 824455fb73a5482c5de8ed4df697327fbd587f49 Mon Sep 17 00:00:00 2001 From: dailer Date: Thu, 1 Aug 2019 10:45:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/main/resources/co?= =?UTF-8?q?m/fr/plugin/web/resources/js/bundle.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/com/fr/plugin/web/resources/js/bundle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/com/fr/plugin/web/resources/js/bundle.js b/src/main/resources/com/fr/plugin/web/resources/js/bundle.js index bf39849..a588463 100644 --- a/src/main/resources/com/fr/plugin/web/resources/js/bundle.js +++ b/src/main/resources/com/fr/plugin/web/resources/js/bundle.js @@ -14,6 +14,7 @@ }); // 示例,向管理系统节点加入帆软帮助文档 + // 特别注意,此配置需要配合服务端SystemOptionProvider接口使用,不然会因无权限而不显示节点. BI.config("dec.constant.management.navigation", function (items) { items.push({ value: "frhelp", // 地址栏显示的hash值