mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
fix old ui5 releases startup order (#1796)
This commit is contained in:
parent
e0f6fa16a4
commit
7906a4944a
|
@ -8,6 +8,9 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server
|
|||
]
|
||||
},
|
||||
async init() {
|
||||
|
||||
z2ui5.oConfig = {};
|
||||
|
||||
UIComponent.prototype.init.apply(this, arguments);
|
||||
|
||||
if (typeof z2ui5 == 'undefined') {
|
||||
|
@ -24,7 +27,6 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server
|
|||
z2ui5.oDeviceModel = Models.createDeviceModel();
|
||||
this.setModel(z2ui5.oDeviceModel, "device");
|
||||
|
||||
z2ui5.oConfig = {};
|
||||
z2ui5.oConfig.ComponentData = this.getComponentData();
|
||||
|
||||
try {
|
||||
|
@ -79,4 +81,4 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server
|
|||
UIComponent.prototype.exit.apply(this, arguments);
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user