const tabsData=[...this.state.tabsData] this.setState({ tabsData: tabsData.map((o,index)=> index == this.activeKey?{...o,num:Math.random()*10}:o) })