🌈 搜索
📅  最后修改于: 2022-03-11 15:04:07.329000             🧑  作者: Mango
componentWillReceiveProps(nextProps){ if(this.props.auth.token !== nextProps.auth.token){ //make a api call here } }