mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-05 09:47:20 +00:00
Merge branch develop into release/1.1.0-beta
This commit is contained in:
commit
02a712d52a
@ -224,7 +224,7 @@ export default function (metadata: IPublicTypeTransformedComponentMetadata): IPu
|
|||||||
field.parent.setPropValue(item.name, {
|
field.parent.setPropValue(item.name, {
|
||||||
type: 'JSFunction',
|
type: 'JSFunction',
|
||||||
// 需要传下入参
|
// 需要传下入参
|
||||||
value: `function(){this.${item.relatedEventName}.apply(this,Array.prototype.slice.call(arguments).concat([${item.paramStr ? item.paramStr : ''}])) }`,
|
value: `function(){return this.${item.relatedEventName}.apply(this,Array.prototype.slice.call(arguments).concat([${item.paramStr ? item.paramStr : ''}])) }`,
|
||||||
});
|
});
|
||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1 +1,4 @@
|
|||||||
export { Workspace } from './workspace';
|
export { Workspace } from './workspace';
|
||||||
|
export { Resource } from './resource';
|
||||||
|
export * from './editor-window/context';
|
||||||
|
export * from './layouts/workbench';
|
||||||
|
|||||||
@ -6,10 +6,6 @@ import { BasicContext } from './base-context';
|
|||||||
import { EditorWindow } from './editor-window/context';
|
import { EditorWindow } from './editor-window/context';
|
||||||
import { Resource } from './resource';
|
import { Resource } from './resource';
|
||||||
|
|
||||||
export { Resource } from './resource';
|
|
||||||
export * from './editor-window/context';
|
|
||||||
export * from './layouts/workbench';
|
|
||||||
|
|
||||||
enum event {
|
enum event {
|
||||||
ChangeWindow = 'change_window',
|
ChangeWindow = 'change_window',
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user