chore: add other keys

pull/69/head
pikax 5 years ago
parent 5e503013ba
commit 398bf2fd33

@ -98,6 +98,9 @@ export function createRouter(
// only intercept inbound links
if (
!e.ctrlKey &&
!e.shiftKey &&
!e.altKey &&
!e.metaKey &&
target !== `_blank` &&
protocol === currentUrl.protocol &&
hostname === currentUrl.hostname

Loading…
Cancel
Save