Skip to content

Commit

Permalink
Merge pull request #1 from LuoReid/LuoReid-patch-1-add-envent-for-expand
Browse files Browse the repository at this point in the history
add parameter $event for on-expand event
  • Loading branch information
LuoReid committed Jul 4, 2019
2 parents 9dd85ba + 1c2c5c5 commit cf4c2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/org-tree/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const renderBtn = (h, data, context) => {
on: {
click: e => {
e.stopPropagation()
expandHandler && expandHandler(data)
expandHandler && expandHandler(data,$event)
}
}
})
Expand Down

0 comments on commit cf4c2b7

Please sign in to comment.