mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-12 02:46:08 +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) {
|
if (treeNode.expanded) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
report(treeNode.expanded ? 'collapse' : 'expand', treeNode);
|
||||||
treeNode.setExpanded(!treeNode.expanded);
|
treeNode.setExpanded(!treeNode.expanded);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user