mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 04:56:00 -04:00
fix require module. Signed-off-by: lihong <lihong67@huawei.com> Change-Id: I9fdcadccf673666d084d060edc714e3546be2553
This commit is contained in:
@@ -118,6 +118,7 @@ export function appCreate(page: Page, options: Options, data: object, services:
|
||||
$app_bootstrap$: appBootstrap,
|
||||
$app_require$: appRequireModule
|
||||
};
|
||||
global.$app_require$ = appRequireModule;
|
||||
|
||||
// Compile js bundle code and get result.
|
||||
if (typeof code === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user