我的代码有react-native-router-flux和react-native-side-menu。
Home.js
...
onPress={Actions.login}
Login.js
...
onPress={Actins.home}
...
contentView.js
<Router>
...
<Scene tabs initial>
<Scene key="home" component={Home} />
<Scene key="login" component={Login} />
...
</Scene>
</Router>
...
const menu=<MyMenu />
<SideMenu menu={menu} ...>
<ContentView ...>
</SideMenu>
MyMenu.js
...
onPress={Actions.login}
但是当我点击标有“go to login”的按钮时,我无法进入登录页面。我该怎么做这个问题? 或者有办法解决这个问题吗?