only insert onContextMenu for electron
This commit is contained in:
parent
4048431816
commit
6be9f12917
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ function App(props: Props) {
|
|||
// @endif
|
||||
})}
|
||||
ref={appRef}
|
||||
onContextMenu={e => openContextMenu(e)}
|
||||
onContextMenu={IS_WEB ? undefined : e => openContextMenu(e)}
|
||||
>
|
||||
<Router />
|
||||
<ModalRouter />
|
||||
|
|
Loading…
Add table
Reference in a new issue