mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
Merge branch 'release/1.0.0' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into release/1.0.0
This commit is contained in:
commit
3a28ed6b07
File diff suppressed because it is too large
Load Diff
@ -72,7 +72,7 @@ export default class FunctionSetter extends PureComponent<FunctionSetterProps, {
|
||||
* 渲染按钮(初始状态)
|
||||
*/
|
||||
renderButton = () => {
|
||||
return <Button type="primary" onClick={() => this.bindFunction()}>绑定函数</Button>
|
||||
return <Button type="normal" onClick={() => this.bindFunction()}>绑定函数</Button>
|
||||
}
|
||||
|
||||
focusFunctionName = (functionName) => {
|
||||
|
||||
@ -217,7 +217,7 @@ class MonacoEditorDefaultView extends PureComponent {
|
||||
width="100%"
|
||||
height="300"
|
||||
language={tarLanguage}
|
||||
theme={theme || window.__monacoTheme || 'vs-dark'}
|
||||
theme={theme || window.__monacoTheme}
|
||||
options={isFullScreen ? this.fullScreenOptions : this.options}
|
||||
onChange={this.onChange}
|
||||
editorWillMount={editorWillMount}
|
||||
|
||||
11
packages/react-renderer/src/index.js
vendored
11
packages/react-renderer/src/index.js
vendored
@ -30,7 +30,16 @@ class FaultComponent extends PureComponent {
|
||||
render() {
|
||||
// FIXME: errorlog
|
||||
console.error('render error', this.props);
|
||||
return <Div>RenderError</Div>;
|
||||
return <Div style={{
|
||||
width:'100%',
|
||||
height:'50px',
|
||||
lineHeight: '50px',
|
||||
textAlign: 'center',
|
||||
fontSize: '15px',
|
||||
color: '#ff0000',
|
||||
border: '2px solid #ff0000'
|
||||
}}>组件渲染异常,请查看控制台日志</Div>;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user