mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 08:58:15 +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;
|
||||
return this.hasChildren() || this.hasSlots() || this.dropDetail?.index != null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user