async await 2018-11-01 本文已影响0人 想成为 async 返回的是一个promise await 后面跟的函数,函数必须返回的是一个promise对象(异步情况下),如果不是promise,都是同步。