feat: 优化缓存大小显示,移除多余的文本信息
This commit is contained in:
@@ -26,7 +26,7 @@ export function useCacheSize() {
|
||||
}
|
||||
}
|
||||
const sizeInKB = (totalSize / 1024).toFixed(2);
|
||||
cacheSize.value = `${sizeInKB} KB (仅 localStorage)`;
|
||||
cacheSize.value = `${sizeInKB} KB`;
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
@@ -21,7 +21,6 @@ function handleThemeChange(event: CustomEvent) {
|
||||
<ion-header>
|
||||
<ion-toolbar class="ui-toolbar">
|
||||
<ion-back-button slot="start" />
|
||||
<ion-title>{{ t("settings.theme") }}</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user