mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +00:00
fix: 🐛 eslint
This commit is contained in:
parent
732bccffde
commit
14803dd94d
@ -213,7 +213,7 @@ class Prototype {
|
|||||||
static addGlobalExtraActions = addGlobalExtraActions;
|
static addGlobalExtraActions = addGlobalExtraActions;
|
||||||
static removeGlobalPropsConfigure = removeGlobalPropsConfigure;
|
static removeGlobalPropsConfigure = removeGlobalPropsConfigure;
|
||||||
static overridePropsConfigure = overridePropsConfigure;
|
static overridePropsConfigure = overridePropsConfigure;
|
||||||
static create(config: OldPrototypeConfig | ComponentMetadata | ComponentMeta, lookup = false) {
|
static create(config: OldPrototypeConfig | ComponentMetadata | ComponentMeta, lookup: boolean = false) {
|
||||||
return new Prototype(config, lookup);
|
return new Prototype(config, lookup);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ class Prototype {
|
|||||||
readonly meta: ComponentMeta;
|
readonly meta: ComponentMeta;
|
||||||
readonly options: OldPrototypeConfig | ComponentMetadata;
|
readonly options: OldPrototypeConfig | ComponentMetadata;
|
||||||
|
|
||||||
constructor(input: OldPrototypeConfig | ComponentMetadata | ComponentMeta, lookup = false) {
|
constructor(input: OldPrototypeConfig | ComponentMetadata | ComponentMeta, lookup: boolean = false) {
|
||||||
if (lookup) {
|
if (lookup) {
|
||||||
this.meta = designer.getComponentMeta(input.componentName);
|
this.meta = designer.getComponentMeta(input.componentName);
|
||||||
this.options = this.meta.getMetadata();
|
this.options = this.meta.getMetadata();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user