From d3b19cf8c4cb06ba5eaaa92cadc354396bb87e74 Mon Sep 17 00:00:00 2001 From: xlsea Date: Wed, 15 May 2024 23:08:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/modules/global-header/index.vue | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/layouts/modules/global-header/index.vue b/src/layouts/modules/global-header/index.vue index d379a2d..08477c3 100644 --- a/src/layouts/modules/global-header/index.vue +++ b/src/layouts/modules/global-header/index.vue @@ -45,6 +45,10 @@ const headerMenus = computed(() => { return []; }); + +const href = (url: string) => { + window.open(url, '_blank'); +};