zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Constructor sap.ui.core.ComponentContainer has been called without new operator

SAPCoreUI has New Operator been Without
2023-09-14 09:03:53 时间

我的 SAP UI5 应用启动后,在 Chrome 开发者工具遇到如下错误消息:

Constructor sap.ui.core.ComponentContainer has been called without “new” operator! -

sap.ui.getCore().attachInit(function(){				sap.ui.core.ComponentContainer({		name:"jerrylist"}).placeAt("content");
});

加上 new 之后问题消失:

更多Jerry的原创文章,尽在:“汪子熙”: