mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 22:58:15 +00:00
fix: 不应该限定 parent 才做解绑操作
This commit is contained in:
parent
458b4952b4
commit
2e616e3767
@ -262,7 +262,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 解除老的父子关系,但不需要真的删除节点
|
// 解除老的父子关系,但不需要真的删除节点
|
||||||
if (this._parent && !parent) {
|
if (this._parent) {
|
||||||
if (this.isSlot()) {
|
if (this.isSlot()) {
|
||||||
this._parent.unlinkSlot(this);
|
this._parent.unlinkSlot(this);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -122,3 +122,7 @@ html.engine-preview-mode {
|
|||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lc-setter-mixed {
|
||||||
|
flex: 1
|
||||||
|
}
|
||||||
@ -55,5 +55,5 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npm.alibaba-inc.com"
|
"registry": "https://registry.npm.alibaba-inc.com"
|
||||||
},
|
},
|
||||||
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.5-0/build/index.html"
|
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.7-0/build/index.html"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user