第一步回调,promise 先找到网上的一些记录 首先是关于js中的回调函数:https://www.jb51.net/article/54750.html 然后是,回调函数似乎和promise并不是同一东西,常见的是用promise 来代替回调函数。