阅读背景:

反应本机导航选项卡注销功能

来源:互联网 

So I have a react native app and I am using react-navigation tab navigator. My problem is I put my Logout function on the tab navigator too, but each tab requires a screen. Now what I want to happen is when I click Logout it doesn't have to navigate anywhere it just have to clear asyncstorage then redirect to Login screen.So I have a react native app and I am using rea




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

分享到: