import { withNavigationFocus } from 'react-navigation';
class Warngreete extends React.Component {
constructor(props) {
super(props);
}

componentDidMount() {
this.reload();
}

    
componentWillReceiveProps(newProps) {
if(newProps.isFocused){
this.reload();
}
}

//页面执行函数
reload(){}

}
export default withNavigationFocus(Warngreete);

 

相关文章:

  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
相关资源
相似解决方案