点击按钮
loginOnPress=(param)=>{
console.log(this.state.password)
this.props.dispatch({
type:'demo/getToken',
shipNumber:this.state.shipNumber,
password:this.state.password,
phone:this.state.phone,
vCode:this.state.vCode,
})
}
这是model里的
hi I encountered the same problem.
me too, any solution to this problem?
I guess you guys use "yield put" to request an API, which is expected "yield call".
Most helpful comment
I guess you guys use "yield put" to request an API, which is expected "yield call".