This commit is contained in:
2025-03-31 10:33:16 +08:00
parent f036fa047c
commit 700243601f
18 changed files with 396 additions and 276 deletions
+13
View File
@@ -102,10 +102,23 @@ export const useConfigStore = defineStore('configStore', () => {
return await api.calc(config.value)
}
const result = useAsyncState(
() => {
return calc()
},
{
skills:[]
},
{ resetOnExecute: false },
)
return {
config,
loadConfig,
saveConfig,
calc,
result
}
})