feat: 优化缓存大小显示,移除多余的文本信息

This commit is contained in:
2025-12-20 04:04:22 +07:00
parent c2a8f026dd
commit b7a2c04532
2 changed files with 1 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export function useCacheSize() {
} }
} }
const sizeInKB = (totalSize / 1024).toFixed(2); const sizeInKB = (totalSize / 1024).toFixed(2);
cacheSize.value = `${sizeInKB} KB (仅 localStorage)`; cacheSize.value = `${sizeInKB} KB`;
} }
} }
catch (error) { catch (error) {

View File

@@ -21,7 +21,6 @@ function handleThemeChange(event: CustomEvent) {
<ion-header> <ion-header>
<ion-toolbar class="ui-toolbar"> <ion-toolbar class="ui-toolbar">
<ion-back-button slot="start" /> <ion-back-button slot="start" />
<ion-title>{{ t("settings.theme") }}</ion-title>
</ion-toolbar> </ion-toolbar>
</ion-header> </ion-header>