mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 16:36:11 +08:00
[create-pull-request] automated change (#1633)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
Co-authored-by: oblomov-dev <oblomov-dev@users.noreply.github.com>
This commit is contained in:
parent
5153b63c1c
commit
dc28189ef2
|
@ -493,8 +493,11 @@ CLASS z2ui5_cl_app_view1_js IMPLEMENTATION.
|
|||
` let oview_model = new JSONModel(viewModel);` && |\n| &&
|
||||
` var oModel = oview_model;` && |\n| &&
|
||||
` if (z2ui5.oResponse.PARAMS.S_VIEW?.SWITCH_DEFAULT_MODEL_PATH){` && |\n| &&
|
||||
` oModel = new ODataModel({ serviceUrl : z2ui5.oResponse.PARAMS.S_VIEW?.SWITCH_DEFAULT_MODEL_PATH, annotationURI: z2ui5.oResponse.PARAMS.S_VIEW?.` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` oModel = new ODataModel({` && |\n| &&
|
||||
` serviceUrl : z2ui5.oResponse.PARAMS.S_VIEW?.SWITCH_DEFAULT_MODEL_PATH,` && |\n| &&
|
||||
` annotationURI: z2ui5.oResponse.PARAMS.S_VIEW?.SWITCHDEFAULTMODELANNOURI` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` z2ui5.oView = await XMLView.create({` && |\n| &&
|
||||
` definition: xml,` && |\n| &&
|
||||
` models: oModel,` && |\n| &&
|
||||
|
@ -515,11 +518,11 @@ CLASS z2ui5_cl_app_view1_js IMPLEMENTATION.
|
|||
` z2ui5.oApp.removeAllPages();` && |\n| &&
|
||||
` z2ui5.oApp.insertPage(z2ui5.oView);` && |\n| &&
|
||||
` },` && |\n| &&
|
||||
|\n|.
|
||||
result = result &&
|
||||
` })` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
`` && |\n| &&
|
||||
|\n|.
|
||||
result = result &&
|
||||
``.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user