接口的批量数据请求

Promise.all([this.$Request.get('api/voteRecord/list',params), this.$Request.get('api/voteMember/list',params)]).then(res=>{
if (res && res[0].code==0 && res[1].code==0){

}
}).catch(res=>{
//debugger
})
posted @ 2018-09-06 17:19  一叶*秋  阅读(877)  评论(0编辑  收藏  举报

博客侧边栏公告广告位招租