2016-01-12 40 views
0

我在我的應用程序中使用Kendo控件。我在哪裏有一個菜單控件在我的控制器中有數據源。目前我正在傳遞imageUrl的URL的相對路徑。但隨着應用程序的增加,現在有很多電話打到後端。所以我想用ICOMOON內容替換這個URL,例如「/ e654」。有沒有這樣的選擇?Kendo菜單dataSource imageUrl不接受內容

dataSource: [ 
        { 
         text: "", 
         imageUrl: "../../App/Modules/PIC/Styles/images/LUT_Small.png", 
         items: [ 
          { 
           imageUrl: "../../App/Modules/PIC/Styles/images/viewer-colors-hotmetal.png", 
           cssClass: "picKendoMenuItemCss", 
           text: lutManager.presetColorLutNames.hotMetal, 
           spriteCssClass: "picKendospriteCss" 
          }, 

不是直接調用png,我想使用ICOMOON內容。

請幫忙。

謝謝, - /鄭秀文

回答