1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

package text-dropdown-menu for text-button dropdown menu

This commit is contained in:
shanshuirenjia
2019-04-21 16:27:20 +08:00
parent a3c9ae98b7
commit 79462f5fd3
3 changed files with 129 additions and 15 deletions

View File

@@ -30,7 +30,6 @@ class ItemDropDownMenu extends React.Component {
menuList: [],
isItemMenuShow: false,
};
}
componentDidMount() {
@@ -96,7 +95,7 @@ class ItemDropDownMenu extends React.Component {
onMenuItemClick = (event) => {
let operation = event.target.dataset.toggle;
this.props.onMenuItemClick(operation);
this.props.onMenuItemClick(operation, event);
}
render() {