mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 10:48:17 +00:00
fix: 修改 asyncLibraryMap 拼写错误
This commit is contained in:
parent
aaec68377b
commit
8b2f045413
@ -209,7 +209,7 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
|||||||
return {};
|
return {};
|
||||||
});
|
});
|
||||||
|
|
||||||
readonly asycnLibraryMap: { [key: string]: {} } = {};
|
readonly asyncLibraryMap: { [key: string]: {} } = {};
|
||||||
|
|
||||||
readonly libraryMap: { [key: string]: string } = {};
|
readonly libraryMap: { [key: string]: string } = {};
|
||||||
|
|
||||||
@ -230,7 +230,7 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
|||||||
library.forEach((item) => {
|
library.forEach((item) => {
|
||||||
this.libraryMap[item.package] = item.library;
|
this.libraryMap[item.package] = item.library;
|
||||||
if (item.async) {
|
if (item.async) {
|
||||||
this.asycnLibraryMap[item.package] = item;
|
this.asyncLibraryMap[item.package] = item;
|
||||||
}
|
}
|
||||||
if (item.urls) {
|
if (item.urls) {
|
||||||
libraryAsset.push(item.urls);
|
libraryAsset.push(item.urls);
|
||||||
@ -270,7 +270,7 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
|||||||
await this.injectionConsumer.waitFirstConsume();
|
await this.injectionConsumer.waitFirstConsume();
|
||||||
|
|
||||||
// 加载异步Library
|
// 加载异步Library
|
||||||
await renderer.loadAsyncLibrary(this.asycnLibraryMap);
|
await renderer.loadAsyncLibrary(this.asyncLibraryMap);
|
||||||
|
|
||||||
// step 5 ready & render
|
// step 5 ready & render
|
||||||
renderer.run();
|
renderer.run();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user