diff --git a/lib/api/balance.ts b/lib/api/balance.ts index 616aa89..4057ea9 100644 --- a/lib/api/balance.ts +++ b/lib/api/balance.ts @@ -1,5 +1,5 @@ -import { Alert } from 'react-native'; import { router } from 'expo-router'; +import { Alert } from 'react-native'; import { authClient } from '../auth/client'; export interface UserBalance { @@ -156,7 +156,7 @@ export async function recordTokenUsage( { text: '去充值', onPress: () => { - router.push('/(tabs)' as any); + router.push('/exchange'); }, }, ] @@ -210,5 +210,5 @@ export async function recordTokenUsage( * 跳转到充值页面 */ export function redirectToPricePage() { - router.push('/(tabs)' as any); + router.push('/exchange' as any); }