From 9bbb0600738e0f4faec4a1294770903906178b06 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 2 Jun 2026 08:18:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=BB=E9=A1=B5=E8=B7=B3=E8=BD=AC=E8=A2=AB?= =?UTF-8?q?=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cards/PluginCard.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/cards/PluginCard.vue b/src/components/cards/PluginCard.vue index 3db73e37..0b8594a6 100644 --- a/src/components/cards/PluginCard.vue +++ b/src/components/cards/PluginCard.vue @@ -260,6 +260,7 @@ async function updatePlugin() { // 访问插件项目主页 async function visitPluginPage() { + const popup = window.open('', '_blank', 'noopener,noreferrer') let pluginDetail = props.plugin try { @@ -294,8 +295,16 @@ async function visitPluginPage() { } if (repoUrl) { + if (popup) { + popup.location.href = repoUrl + return + } + window.open(repoUrl, '_blank') + return } + + popup?.close() } // 打开插件详情