Tabs tab switching caching problem antd

it is found that the first switch of the tab will render the interface request data, and the second switch will automatically cache the interface without requesting the interface. If I want to request the interface every time I switch, what should I do

here is the official antd demo

render(){
  <Tabs defaultActiveKey="1">
    <TabPane tab="Tab 1" key="1">Content of Tab Pane 1</TabPane>
    <TabPane tab="Tab 2" key="2">Content of Tab Pane 2</TabPane>
    <TabPane tab="Tab 3" key="3">Content of Tab Pane 3</TabPane>
  </Tabs>
}


know how to do it. You can switch between tab and refresh each time you make a judgment in TabPane.

<TabPane tab="" key="1">
     {activeKey==2?<Quotient indexData={fundValue} />:<div> </div>}
</TabPane>

Tabs is the cache mechanism at design time (tab slipping left and right on mobile devices should be very common. If you must make each request, you can manually add events in onChange .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b225b6-3fb95.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b225b6-3fb95.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?