[英]SAPUI5 FIORI launchpad customIcon on BusyDialog is not working
I am tring to add animation to a busyDialog , i can see it well in my development environment but not on FIORI launchpad.我想将动画添加到 busyDialog ,我可以在我的开发环境中很好地看到它,但在 FIORI 启动板上看不到。 see attached code.
见附件代码。
can anyone think why it's not working?谁能想到为什么它不起作用? Thanks!
谢谢!
sap.ui.getCore().AppContext._oWaitDialog = new sap.m.BusyDialog({
// text: "Please wait...",
customIcon: "images/LogoLoader_WhiteCircle.gif",
customIconRotationSpeed:0
});
sap.ui.getCore().AppContext._oWaitDialog.open();
you have to include this folder in component.js file, component.js initializes all these folders when app run from Launchpad.您必须将此文件夹包含在 component.js 文件中,当应用程序从 Launchpad 运行时,component.js 会初始化所有这些文件夹。
return UIComponent.extend("com.yourapp.namspace.Component", { metadata : { manifest: "json", /* if you using manifest json file */ includes: ["css/style.css", "images/LogoLoader_WhiteCircle.gif"] /* all folders file that need to be accessed in app, css in case custom css*/ },
我会说你正试图在 index.html 中获取旧的或本地源的 UI5 源尝试
src="https://sapui5.hana.ondemand.com/1.50.6/resources/sap-ui-core.js"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.