This commit is contained in:
oneao committed 2025-11-19 17:30:44 +08:00
1 parent 7419021927
commit 49285f1df2
16 files changed
+1184 -283

No files matched your search

+1 -10
View File
@@ -61,7 +61,7 @@ export default function RootLayout() {
if (!userStore.isLoggedIn()) {
// 未登录直接跳到 auth
router.replace('/auth')
router.replace('/auth/index')
return null
}
return (
@@ -74,8 +74,6 @@ export default function RootLayout() {
screenOptions={{
headerTitleAlign: 'center',
animation: 'slide_from_right',
gestureEnabled: true,
gestureDirection: 'horizontal',
contentStyle: {
backgroundColor: '#fff',
},
@@ -88,13 +86,6 @@ export default function RootLayout() {
}}
/>
<Stack.Screen
name="auth"
options={{
headerShown: false,
}}
/>
<Stack.Screen name="+not-found" />
</Stack>
<StatusBar style="auto" />