mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-28 18:26:18 +08:00
fix launchpad initialization (#1826)
This commit is contained in:
parent
dd0ade0ed6
commit
f413e431e6
|
@ -9,17 +9,22 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server
|
|||
},
|
||||
async init() {
|
||||
|
||||
z2ui5.oConfig = {};
|
||||
|
||||
if (typeof z2ui5 !== 'undefined') {
|
||||
z2ui5.oConfig = {};
|
||||
}
|
||||
|
||||
UIComponent.prototype.init.apply(this, arguments);
|
||||
|
||||
if (typeof z2ui5 == 'undefined') {
|
||||
z2ui5 = {};
|
||||
}
|
||||
if (z2ui5?.checkLocal == false) {
|
||||
z2ui5 = {};
|
||||
z2ui5 = {};
|
||||
}
|
||||
|
||||
if (typeof z2ui5.oConfig == 'undefined') {
|
||||
z2ui5.oConfig = {};
|
||||
}
|
||||
z2ui5.oDeviceModel = Models.createDeviceModel();
|
||||
this.setModel(z2ui5.oDeviceModel, "device");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user