Compare commits

..

No commits in common. "024105f3ed0235501ff4b7ae2909b25fc66f0a68" and "a66f7f9460e80c9b4a63f37dbe127e57ffa5c905" have entirely different histories.

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'