From 8c51b79558ed1896a56810cbc606263f10fb882f Mon Sep 17 00:00:00 2001 From: BTMuli Date: Fri, 24 Oct 2025 18:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E6=B5=AE?= =?UTF-8?q?=E7=AA=97=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pageAnno/tao-iframe.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/pageAnno/tao-iframe.vue b/src/components/pageAnno/tao-iframe.vue index 57562ae2..300c0a0a 100644 --- a/src/components/pageAnno/tao-iframe.vue +++ b/src/components/pageAnno/tao-iframe.vue @@ -57,10 +57,8 @@ async function refreshAuthkey(): Promise { async function getUrl(): Promise { const path = "https://sdk.mihoyo.com/hk4e/announcement/index.html"; - if (authkey.value === "") { - await refreshAuthkey(); - } - if (!visible.value) return ""; + if (authkey.value === "") await refreshAuthkey(); + if (authkey.value === "") return ""; const param: Record = { auth_appid: "announcement", authkey_ver: "1",