fix: 修复大纲树中点击隐藏icon后无法再显示出来

This commit is contained in:
lihao.ylh 2021-09-15 17:07:53 +08:00
parent 76c5acdc38
commit d071e84500

View File

@ -541,7 +541,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
}
getVisible(): boolean {
return !this.getExtraProp('hidden', false)?.getValue();
return !this.getExtraProp('hidden')?.getValue();
}
onVisibleChange(func: (flag: boolean) => any) {