[Vuejs]-Add an array to another array without index vuejs

0👍

that would be the code to my comment, not knowing if going with an object would be working for you…

postAnswerTest: function(modelId, topicId, questionId, answerId) {
    var finalAnswer = {modelId, topicId, questionId, answerId};
    this.finalObject[questionId] = finalAnswer;
    console.log(this.finalObject);
  },

Leave a comment