mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
update (#1598)
This commit is contained in:
parent
e53aa52fe6
commit
54136bbc64
|
@ -8,6 +8,9 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models","z2ui5/cc/Server"
|
|||
|
||||
UIComponent.prototype.init.apply(this, arguments);
|
||||
|
||||
if (typeof z2ui5 == 'undefined'){
|
||||
z2ui5 = {};
|
||||
}
|
||||
this.getRouter().initialize();
|
||||
z2ui5.oRouter = this.getRouter();
|
||||
this.setModel(Models.createDeviceModel(), "device");
|
||||
|
|
|
@ -28,6 +28,9 @@ CLASS z2ui5_cl_app_component_js IMPLEMENTATION.
|
|||
`` && |\n| &&
|
||||
` UIComponent.prototype.init.apply(this, arguments);` && |\n| &&
|
||||
`` && |\n| &&
|
||||
` if (typeof z2ui5 == 'undefined'){` && |\n| &&
|
||||
` z2ui5 = {};` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` this.getRouter().initialize();` && |\n| &&
|
||||
` z2ui5.oRouter = this.getRouter();` && |\n| &&
|
||||
` this.setModel(Models.createDeviceModel(), "device");` && |\n| &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user