參考:https://www.jianshu.com/p/02c630ed7725this
tabBar1頁面有按鈕,點擊切換到tabBar2io
直接用this.props.navigation.navigate('tabBar2'); //這裏tabBar1,tabBar2都在createBottomTabNavigator中配置了配置