Promise.reject('这是第二个 reject 值').then((data) = > { console.log(data) }). catch (data = > { console.log(data) //这是第二个 reject 值 })
最近发布的代码:
最多阅读的代码
土拨鼠致力于为您提供最好用的全平台软件
技术支持:北京 · 朝阳 · 新征程
Copyright© 2013-2016 All Rights Reserved 京ICP备13033312号-2