Skip to content

Commit cf4c2b7

Browse files
authored
Merge pull request hukaibaihu#1 from LuoReid/LuoReid-patch-1-add-envent-for-expand
add parameter $event for on-expand event
2 parents 9dd85ba + 1c2c5c5 commit cf4c2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/org-tree/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const renderBtn = (h, data, context) => {
4747
on: {
4848
click: e => {
4949
e.stopPropagation()
50-
expandHandler && expandHandler(data)
50+
expandHandler && expandHandler(data,$event)
5151
}
5252
}
5353
})

0 commit comments

Comments
 (0)