fix: 修复部分场景下大纲树无法展开的问题

This commit is contained in:
lihao.ylh 2021-12-22 17:14:05 +08:00
parent 955950968f
commit 27866beebf

View File

@ -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;
}