mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-03 07:47:18 +00:00
资源加载完成后再预览
This commit is contained in:
parent
a3015961ed
commit
2de06763fc
@ -37,7 +37,7 @@ const SamplePreview = ({ editor }: PluginProps) => {
|
||||
|
||||
// TODO asset may cause pollution
|
||||
const assetLoader = new AssetLoader();
|
||||
assetLoader.load(libraryAsset);
|
||||
await assetLoader.load(libraryAsset);
|
||||
const components = buildComponents(libraryMap, componentsMap);
|
||||
console.log('components', components);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user