[fix] store persistence and switch dir to 'cstb'

This commit is contained in:
Purp1e
2025-03-20 01:46:54 +08:00
parent b90a08d0fe
commit c28cd23b5c
14 changed files with 136 additions and 81 deletions

6
src/store/config.ts Normal file
View File

@@ -0,0 +1,6 @@
export const DEFAULT_STORE_CONFIG = {
saveOnChange: true,
saveOnExit: true,
saveStrategy: "debounce" as const,
saveInterval: 2000,
}