We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50ea3a1 commit 02431b6Copy full SHA for 02431b6
app/Pages/Test1.js
@@ -19,7 +19,7 @@ export default class Test1 extends Component {
19
render() {
20
return (
21
<View style={styles.container}>
22
-
+ <Text onPress={()=>Actions.Login()}>点我跳转到登陆</Text>
23
</View>
24
);
25
}
app/Router.js
@@ -93,11 +93,13 @@ const router = (...props) => (
93
</Stack>
94
</Tabs>
95
96
- <Stack gesturesEnabled={false} hideNavBar key="Login">
+ <Stack gesturesEnabled={false} key="Login">
97
<Scene
98
+ title='登录'
99
key="LoginModal"
100
component={Login}
101
gesturesEnabled={false}
102
+ back
103
onExit={() => console.log('onExit')}
104
onLeft={Actions.pop}
105
/>
0 commit comments