this.props.history.goBack() 返回上一个界面问题this.props.history.goBack() 返回上一个界面问题
来源:5-23 集成react-router

宝慕林3443678
2018-09-21
this.props.history.goBack() 返回上一个界面问题 ,上一个界面会重新走constructor、componentDidMount 方法 ,因为我在componentDidMount里有进行网络加载请求,怎样让他返回时不走constructor、componentDidMount 方法?
写回答
1回答
-
吕小鸣
2018-09-21
方法同上哈
022018-09-21
相似问题