Why function executed before the promises are resolved?

前端 未结 0 1374
情书的邮戳
情书的邮戳 2021-01-29 06:22

I have those functions in action:

async getAllZones({ commit,dispatch }, zoneIds) {
  debugger
  commit("CLEAR_ZONES_LIST");
  await zoneIds.forEach((id         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题