feat(@vben-core/shared): 新增indexedDB

在cache下新增indexedDB缓存
This commit is contained in:
layhuts
2026-05-08 17:34:54 +08:00
parent b5dacd992f
commit e555ee065e
11 changed files with 835 additions and 163 deletions

View File

@@ -283,8 +283,8 @@ async function handleCopy() {
}
async function handleClearCache() {
resetPreferences();
clearCache();
await resetPreferences();
await clearCache();
emit('clearPreferencesAndLogout');
}
@@ -292,7 +292,7 @@ async function handleReset() {
if (!mergedDiffPreference.value) {
return;
}
resetPreferences();
await resetPreferences();
await loadLocaleMessages(preferences.app.locale);
}