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>

View File

@@ -1250,7 +1250,7 @@ export default {
dataDirectory: '/moviepilot',
expand: 'Expand',
collapse: 'Collapse',
cleanCache: 'Clear Cache',
clearCache: 'Clear Cache',
},
system: {
custom: 'Custom',

View File

@@ -1247,7 +1247,7 @@ export default {
dataDirectory: '/moviepilot',
expand: '展开',
collapse: '收起',
cleanCache: '清除缓存',
clearCache: '清除缓存',
},
system: {
custom: '自定义',

View File

@@ -1235,7 +1235,7 @@ export default {
dataDirectory: '/moviepilot',
expand: '展開',
collapse: '收起',
cleanCache: '清除緩存',
clearCache: '清除快取',
},
system: {
custom: '自定義',