mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
fix: 修复部分场景下大纲树无法展开的问题
This commit is contained in:
parent
955950968f
commit
27866beebf
@ -11,7 +11,7 @@ export default class TreeNode {
|
|||||||
/**
|
/**
|
||||||
* 是否可以展开
|
* 是否可以展开
|
||||||
*/
|
*/
|
||||||
@computed get expandable(): boolean {
|
get expandable(): boolean {
|
||||||
if (this.locked) return false;
|
if (this.locked) return false;
|
||||||
return this.hasChildren() || this.hasSlots() || this.dropDetail?.index != null;
|
return this.hasChildren() || this.hasSlots() || this.dropDetail?.index != null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user