This commit is contained in:
2025-03-19 00:22:50 +08:00
parent 67ae4d8773
commit 53916f0658
14 changed files with 3984 additions and 24 deletions
+7 -1
View File
@@ -74,7 +74,13 @@ export const useConfigStore = defineStore('configStore', () => {
});
}
const saveConfig = () => {}
const saveConfig = () => {
const infoStore = useInfoStore()
const alter = infoStore.infos?.alter
if (alter) {
localStorage.setItem(`dcalc/${alter}/config`, JSON.stringify(config.value))
}
}
return {
config,