我的路由器:
const TabRoot = createBottomTabNavigator({
TabMarket: TabMarket,
Favorite: Favorite,
Noti: Noti,
News: News,
User: User
}
const TabMarket = createMaterialTopTabNavigator({
USDT: MarketComponent,
BTC: MarketComponent,
ETH: MarketComponent,
HT: MarketComponent
}
屏幕上的最喜欢的按钮,单击导航到TabMarket中的USDT选项卡。 但是当在选项卡BTC中时,返回到“收藏夹”。我单击按钮,它再次导航到BTC。 如何自定义以始终导航到USDT