mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-20 22:00:56 -04:00
fix bug
Former-commit-id: 99ea60ce4ffce4221143f68b55c2265a21042a1d
This commit is contained in:
@@ -186,12 +186,14 @@ class PopupMenu extends React.Component<PopupMenuProps, PopupMenuStates> {
|
||||
if (this.props.isOpenMenu) {
|
||||
this.props.handleMenuMode("menu");
|
||||
this.props.handleOpenMenu(false);
|
||||
this.props.handleNoteKey("");
|
||||
}
|
||||
|
||||
// 使弹出菜单更加灵活可控;
|
||||
if (sel!.isCollapsed) {
|
||||
this.props.isOpenMenu && this.props.handleOpenMenu(false);
|
||||
this.props.handleMenuMode("menu");
|
||||
this.props.handleNoteKey("");
|
||||
return;
|
||||
}
|
||||
this.showMenu();
|
||||
|
||||
Reference in New Issue
Block a user