0
我的index.html为什么index.html class =“... sapUiMedia-Std - ????”
[class="sap-phone sapUiTheme-sap_belize sap-ios sapUiMedia-Std-Tablet sapUiMedia-StdExt-Tablet"]
在iphone
,但是演示是
[class="sap-tablet sap-desktop sap-combi sapUiTheme-sap_belize sapUiMedia-Std-Phone sapUiMedia-StdExt-Phone"]
为什么我的 “sapUiMedia-STD-平板” 不是 “sapUiMedia-STD-Phone” 的?
sap.ui.getCore().attachInit(function() {
new sap.tnt.ToolPage({
header: new sap.tnt.ToolHeader("", {
content: [
new sap.m.Button("", {
icon: "sap-icon://menu2",
type: sap.m.ButtonType.Transparent,
layoutData: new sap.m.OverflowToolbarLayoutData("", {
priority: sap.m.OverflowToolbarPriority.NeverOverflow
}),
})
]
})
}).placeAt("content");
});
你能解释一下你的问题好一点?如果您想了解ui5如何识别您的应用程序,则可以在控制台开发工具sap.ui.Device.system中运行。 – Alan