mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-05 01:37:17 +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, {
|
||||
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;
|
||||
});
|
||||
|
||||
@ -1 +1,4 @@
|
||||
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 { Resource } from './resource';
|
||||
|
||||
export { Resource } from './resource';
|
||||
export * from './editor-window/context';
|
||||
export * from './layouts/workbench';
|
||||
|
||||
enum event {
|
||||
ChangeWindow = 'change_window',
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user