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