feat: 周期账单 — 自动生成定期交易(房租/订阅/工资)
This commit is contained in:
@@ -146,6 +146,7 @@ import { useGroupStore } from '@/stores/group'
|
||||
import { useNotificationStore } from '@/stores/notification'
|
||||
import { waitForReady } from '@/utils/app-ready'
|
||||
import { getOverview } from '@/api/stats'
|
||||
import { syncRecurring } from '@/api/recurring'
|
||||
import type { Transaction } from '@/api/transaction'
|
||||
import { getNotificationImageUrl } from '@/api/notification'
|
||||
import { formatAmount, formatAmountRaw } from '@/utils/format'
|
||||
@@ -237,7 +238,8 @@ async function loadData(silent = false, force = false) {
|
||||
Promise.allSettled([
|
||||
userStore.fetchUserInfo(),
|
||||
notifStore.fetchUnreadCount(),
|
||||
notifStore.fetchUrgentNotifications()
|
||||
notifStore.fetchUrgentNotifications(),
|
||||
syncRecurring().catch(() => {})
|
||||
]).catch(() => {})
|
||||
} catch (e) {
|
||||
console.error('Load error:', e)
|
||||
|
||||
Reference in New Issue
Block a user