mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +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
20a15d5cec
@ -165,11 +165,7 @@ function propTypeToSetter(propType: PropType): SetterType {
|
||||
case 'func':
|
||||
return {
|
||||
componentName: 'FunctionSetter',
|
||||
isRequired,
|
||||
initialValue: {
|
||||
type: 'JSFunction',
|
||||
value: 'function(){}',
|
||||
},
|
||||
isRequired
|
||||
};
|
||||
case 'oneOfType':
|
||||
return {
|
||||
|
||||
@ -207,9 +207,8 @@ export default class EventBindDialog extends Component<PluginProps> {
|
||||
|
||||
<div className="dialog-small-title">参数设置</div>
|
||||
<MonacoEditor
|
||||
value={'{}'}
|
||||
{...defaultEditorOption}
|
||||
{...{ language: 'json' }}
|
||||
{...{ language: 'javascript' }}
|
||||
// onChange={(newCode) => this.updateCode(newCode)}
|
||||
// editorDidMount={(editor, monaco) => this.editorDidMount.call(this, editor, monaco, TAB_KEY.JS_TAB)}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user