数据异步

async 方法名(){

    var res = await  a接口

       这里执行b接口

}
原文地址:https://www.cnblogs.com/zhouyx/p/15681928.html