Commit 2b777956 by xuzhenghua

pre

parent 8bbf3c9a
......@@ -54,6 +54,17 @@ class BargainMiddlePage extends Component {
this.getBargainInfo()
}
componentDidUpdate(prevProps) {
let {user} = this.props
let {user: prevUser} = prevProps
if(!user.hasError && user.hasError !== prevUser.hasError){
this.getBargainRankList(getParam('id'), 1)
this.getBargainCourse()
this.getBargainInfo()
}
}
// 获取砍价信息
getBargainInfo = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment