mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
feat: 大纲树展开折叠埋点
This commit is contained in:
parent
e91ab1fafe
commit
d9828f2d78
@ -206,6 +206,7 @@ class ExpandBtn extends Component<{ treeNode: TreeNode }> {
|
||||
if (treeNode.expanded) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
report(treeNode.expanded ? 'collapse' : 'expand', treeNode);
|
||||
treeNode.setExpanded(!treeNode.expanded);
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user