mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
chore: 先改回原来的行为
This commit is contained in:
parent
42ae1ef582
commit
0170dfaa5b
@ -32,7 +32,7 @@ export class ModalNodesManager {
|
||||
this.emitter = new EventEmitter();
|
||||
this.nodeRemoveEvents = {};
|
||||
this.setNodes();
|
||||
// this.hideModalNodes();
|
||||
this.hideModalNodes();
|
||||
this.willDestroy = [
|
||||
page.onNodeCreate((node) => this.addNode(node)),
|
||||
page.onNodeDestroy((node) => this.removeNode(node)),
|
||||
|
||||
@ -166,9 +166,6 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
||||
});
|
||||
this.settingEntry = this.document.designer.createSettingEntry([this]);
|
||||
} else {
|
||||
if (this.componentMeta.isModal) {
|
||||
extras.hidden = true;
|
||||
}
|
||||
// 这里 props 被初始化两次,一次 new,一次 import,new 的实例需要给 propsReducer 的钩子去使用,
|
||||
// import 是为了使用钩子返回的值,并非完全幂等的操作,部分行为执行两次会有 bug,
|
||||
// 所以在 props 里会对 new / import 做一些区别化的解析
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user