Skip to content

Commit

Permalink
add parameter $event for on-expand event
Browse files Browse the repository at this point in the history
add parameter $event for on-expand event
  • Loading branch information
LuoReid authored Jul 4, 2019
1 parent 9dd85ba commit 1c2c5c5
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 1c2c5c5

Please sign in to comment.