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