mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
modal 默认隐藏
This commit is contained in:
parent
c2605bb4f6
commit
cd91430234
@ -157,6 +157,10 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
||||
this.props.import(this.transformProps(props || {}), extras);
|
||||
this.setupAutoruns();
|
||||
}
|
||||
|
||||
if (this.componentMeta.isModal) {
|
||||
this.getExtraProp('hidden', true)?.setValue(true);
|
||||
}
|
||||
}
|
||||
|
||||
private transformProps(props: any): any {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user