mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
Merge branch 'fix/ducheng-1105-bugs' into 'release/1.0.0'
fix: 修改style-setter报错,loadAsyncLib 判断 See merge request !1036663
This commit is contained in:
commit
2cd7cbca8a
@ -272,8 +272,12 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
||||
// wait 运行时上下文
|
||||
await this.injectionConsumer.waitFirstConsume();
|
||||
|
||||
// 加载异步Library
|
||||
await renderer.loadAsyncLibrary(this.asyncLibraryMap);
|
||||
|
||||
if (Object.keys(this.asyncLibraryMap).length > 0) {
|
||||
// 加载异步Library
|
||||
await renderer.loadAsyncLibrary(this.asyncLibraryMap);
|
||||
}
|
||||
|
||||
|
||||
// step 5 ready & render
|
||||
renderer.run();
|
||||
|
||||
@ -50,6 +50,7 @@
|
||||
"qs": "^6.9.1",
|
||||
"react": "^16",
|
||||
"react-dom": "^16.7.0",
|
||||
"@ali/lc-style-setter":"0.0.2",
|
||||
"react-monaco-editor": "0.40.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import './style.less';
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import LowStyleSetter from './lc-style-setter';
|
||||
import LowStyleSetter from '@ali/lc-style-setter';
|
||||
import { globalLocale } from '@ali/lowcode-editor-core';
|
||||
|
||||
export default class StyleSetter extends Component {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user