diff --git a/src/client/app/router.ts b/src/client/app/router.ts index 8b4b678e..02499af6 100644 --- a/src/client/app/router.ts +++ b/src/client/app/router.ts @@ -97,6 +97,10 @@ export function createRouter( const currentUrl = window.location // only intercept inbound links if ( + !e.ctrlKey && + !e.shiftKey && + !e.altKey && + !e.metaKey && target !== `_blank` && protocol === currentUrl.protocol && hostname === currentUrl.hostname diff --git a/src/client/theme-default/Layout.vue b/src/client/theme-default/Layout.vue index 66fac926..4234a5f1 100644 --- a/src/client/theme-default/Layout.vue +++ b/src/client/theme-default/Layout.vue @@ -2,9 +2,10 @@
+
-