feat(timeout): 添加多语言页面加载超时提示

This commit is contained in:
PKC278
2026-01-03 10:32:58 +08:00
parent 78e2d05730
commit 43d2406ee9
5 changed files with 35 additions and 9 deletions

View File

@@ -120,7 +120,7 @@ function releaseTime(releaseDate: string) {
}
// 强制清除缓存
async function cleanCache() {
async function clearCache() {
await clearCachesAndServiceWorker()
// 刷新页面,添加时间戳参数以强制更新
reloadWithTimestamp()
@@ -191,12 +191,12 @@ onMounted(() => {
size="x-small"
variant="tonal"
class="ms-2"
@click="cleanCache"
@click="clearCache"
>
<template #prepend>
<VIcon icon="mdi-refresh" size="14" />
</template>
{{ t('setting.about.cleanCache') }}
{{ t('setting.about.clearCache') }}
</VBtn>
</span>
</dd>