React this.state值不实时更新 promise

setTimeout 赋值 解决异步
promise  解决异步

  

原文地址:https://www.cnblogs.com/zhanglanzuopin/p/12674289.html