Commit c428b2b9 by zhanghaozhe

debug领取页面

parent 4bf37a06
......@@ -60,6 +60,8 @@ class GiveCourseAssistance extends Component {
componentWillUpdate(nextProps) {
const {user} = this.props
if (nextProps.user.hasError !== user.hasError) {
console.log(this.state.baseCode[0])
console.log(nextProps.user.data.uid)
this.setState({
getBtnStatus: nextProps.user.data.uid === this.state.baseCode[0] ? '2' : '1'
})
......
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