Constructor sap.ui.core.ComponentContainer has been called without new operator
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的原创文章,尽在:“汪子熙”:
相关文章
- sap.ui.core.Configuration 的作用简析
- sap.ui.core.IAsyncContentCreation 这个标记接口在 SAP UI5 框架中的应用
- Constructor sap.ui.core.ComponentContainer has been called without new operator
- when is this.oModel in sap-ui-core.js initialized for navigation working
- new sap.ui.core.Item() - how is it initialized
- when is SAP UI5 sap-ui-core.js loaded
- sap-ui-core.js reference in Webclient ui
- sap-ui-core.js reference in Webclient ui
- 为什么你们的Note.js 里面没有sap.ui.core.Control.extend()这样的代码,但是runtime有自动生成有
- SAP UI5 sap.ui.core.OpenState.CLOSED Dialog open and close
- 自己实现一个SAP WebClient UI Repository Information System
- SAP 电商云 Spartacus UI 回归测试 b2b-replenishment-checkout-flow.core-e2e-spec.ts
- SAP 电商云 Spartacus UI 回归测试 checkout-flow.core-e2e-spec.ts
- SAP Commerce Cloud 的 build 过程
- SAP Spartacus core模块的单元测试
- 如何使用 SAP Kyma 控制台手动发送 SAP Commerce Cloud Mock 应用暴露的事件
- 关于 SAP UI5 应用 ui5.yaml 里的 paths 映射问题
- Fiori Elements - sap.ui.core.util.XMLPreprocessor2 - insert fragment
- UI5应用clone到webIDE后,如何处理无法加载sap-ui-core.js的错误
- [SAP成都] SAP UI5应用的sap-ui-core.js被加载之前,还有哪些js文件被加载了