1 promise 的then传入非函数 会被忽略

2 promise 的then传入函数不带返回值,下一个then会拿到undefined

 

 

 

 

参考:

1 https://segmentfault.com/a/1190000010420744

promise 与 observable区别

https://blog.csdn.net/weixin_33912638/article/details/93183781

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案