阅读背景:

导航到if语句中的其他页面

来源:互联网 

I'm building a React Native project using react-native-router-flux, and I'm having a bit of trouble with the navigation. Basically, I'm building a Login page that checks the email/password with the database, and stores the access token if matched. Then I want to instantly navigate from the Login page to the Homepage, but I'm not sure how to accomplish that. It seems like {Actions.SceneKey} only works when it's onPress. Here's my code for the Login Page:I'm building a React Native project using react




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: