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 }}
个人信息每次进入和之后每 30 秒重新获取,不写入本地。