1405/04/10-fix bug iphone show
This commit is contained in:
@@ -377,6 +377,7 @@ import { useWalletStore } from '@/store/walletStore'
|
||||
import { useSettingsStore } from '@/store/settingsStore'
|
||||
import { syncPriceRealtimeChannel } from '@/utils/priceSocket'
|
||||
import { setTruth } from '@/app/authBoot'
|
||||
import { completeLoginNavigation } from '@/layouts/composables/useMobileScrollReset'
|
||||
import {useConfigStore} from "@/store/configStore";
|
||||
import {
|
||||
getConfigApp,
|
||||
@@ -488,7 +489,7 @@ async function login(accessToken: string | undefined) {
|
||||
/* if (userStore.userInfo?.type === (URLUserType() === 'customer' ? 1 : 2)) {*/
|
||||
await walletStore.getMyWallet()
|
||||
setTruth()
|
||||
await router.push({ name: 'home' })
|
||||
await completeLoginNavigation()
|
||||
/* } else {
|
||||
removeToken()
|
||||
userStore.removeInformation()
|
||||
|
||||
Reference in New Issue
Block a user