From 858d77758850e0771885f22bc2b7c4685b6071ae Mon Sep 17 00:00:00 2001 From: Nixevol Date: Tue, 27 Oct 2026 04:15:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E5=AE=9E=E7=8E=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/features/home/HomeView.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/src/features/home/HomeView.vue b/web/src/features/home/HomeView.vue index 153de57..fbf6147 100644 --- a/web/src/features/home/HomeView.vue +++ b/web/src/features/home/HomeView.vue @@ -55,13 +55,13 @@ async function load() { const payload = await response.json().catch(() => ({})); if (current !== requestId) return; if (!response.ok) { - errorText.value = typeof payload.detail === "string" ? payload.detail : "首页信息没有获取到,30 秒后会再试。"; + errorText.value = typeof payload.detail === "string" ? payload.detail : "首页信息没有获取到。"; return; } errorText.value = ""; profile.value = payload; } catch { - if (current === requestId) errorText.value = "首页信息没有获取到,30 秒后会再试。"; + if (current === requestId) errorText.value = "首页信息没有获取到。"; } finally { if (current === requestId) loading.value = false; } @@ -80,7 +80,6 @@ onUnmounted(() => window.clearInterval(timer));

首页

-

个人信息每次进入和之后每 30 秒重新获取,不写入本地。

{{ errorText }}