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
+3 -1
View File
@@ -32,7 +32,9 @@ const configStore = useConfigStore()
onMounted(async () => {
await infoStore.createCharacter(props.alter, '0')
configStore.loadConfig()
console.log(configStore.config)
window.addEventListener('beforeunload', () => {
configStore.saveConfig()
})
})
</script>