This commit is contained in:
oneao committed 2025-11-03 21:49:49 +08:00
1 parent 2347d55823
commit c0ff3ce883
6 files changed
+29 -6

No files matched your search

@@ -56,7 +56,7 @@ export default function RootLayout() {
// 如果没有 token,则跳转登录页
if (token === null) {
router.replace('/auth/login')
// router.replace('/auth/login')
}
}
}, [fontsLoaded, storeLoaded, token])
@@ -83,8 +83,7 @@ export default function RootLayout() {
<Stack.Screen
name="auth/login"
options={{
title: '登录',
headerShown: true,
headerShown: false,
}}
/>
<Stack.Screen name="+not-found" />