This commit is contained in:
oneao committed 2025-11-20 17:30:28 +08:00
1 parent 63b168affc
commit 069b4506e4
29 files changed
+1077 -1116

No files matched your search

@@ -32,6 +32,12 @@ export const useMoneyCategoryStore = create<MoneyCategoryStore>()(
set({ categories: get().categories.filter(c => c.id !== id) }),
init: async () => {
const local = get().categories
if (local && local.length > 0) {
return
}
try {
const res = await queryMoneyCategoryApi()
if (res.isSuccess) {