Commit 17c6dd9f by zhanghaozhe

Merge branch '00' into dev

parents ef4567e0 954011c4
......@@ -36,6 +36,12 @@ class Landing extends Component {
this.fetchPageData()
}
componentDidUpdate(prevProps) {
if(prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError){
this.fetchPageData()
}
}
fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {
http.post(`${API.home}/sys/treasure/team`, {
......
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