This commit is contained in:
康猛 2026-01-15 10:53:27 +08:00
commit b55c95ce14
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ import { bleManager } from '@/ble/managers/bleManager'
import { HotUpdate } from '@/components/hot-update'
import { useColorScheme } from '@/hooks/use-color-scheme'
import { setupGlobalFetchLogger } from '@/lib/fetch-logger'
import { useUserSession } from '@/stores/userStore'
import { useUserSession } from '@/stores/UserStore'
const isProd = process.env.EXPO_PUBLIC_ENV !== 'development'

View File

@ -82,7 +82,7 @@ class UserStore {
await authSignOut()
this.reset()
// 登出时重置余额store
const { userBalanceStore } = await import('./userBalanceStore')
const { userBalanceStore } = await import('./UserBalanceStore')
userBalanceStore.reset()
} catch (error) {
this.setError(error instanceof Error ? error.message : '登出失败')

View File

@ -1,3 +1,3 @@
export { bleStore } from './bleStore'
export { userBalanceStore } from './userBalanceStore'
export { userStore } from './userStore'
export { bleStore } from './BleStore'
export { userBalanceStore } from './UserBalanceStore'
export { userStore } from './UserStore'