先执行一个effects,然后将数据put ,再执行另一个effects,用select获取第一个effects中put的state信息,得到的是上一次的数据
1.执行getCourseInfoByCouseIdAndUserId
2.再执行getCourseExamResultList
3.在getCourseExamResultList中获取的userInfo是上一次getCourseInfoByCouseIdAndUserId获取的值
但是确实是先执行了getCourseInfoByCouseIdAndUserId并且得到的也是新值,put的也是得到的新值

"dayjs": "^1.8.10",
taro:1.2.7
put是非阻塞的,用:
yield put.resolve({type: 'getCourseInfoByCouseIdAndUserId'})
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
put是非阻塞的,用:
yield put.resolve({type: 'getCourseInfoByCouseIdAndUserId'})