【仅供内部供应商使用,不提供对外解答和培训】
...
Code Block |
---|
BI.config("dec.provider.frame.menu", function (provider) { provider.inject({ menus: [ { value: "fanruan", text: BI.i18nText("帆软"), cardType: { src: "http://www.fanruan.com/" }, cls: "fr-logo-font" } ] }); }); |
...
// 如果失效,可以使用兼容性写法
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;
}); |
https://code.fanruan.com/dailerfanruan/demo-system-management
...