[Vuejs]-The for loop and the get request

0👍

async/await functions :

async getDatafor(){
            for(let i = 0; i < this.desserts.length; i++){
              this.val_ia = i;
              await Promise.all([this.getAllData()]);
            }
          },

Leave a comment