Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
taskAdd: function () {
if (this.dateTaskArr[this.dateActiv] == null) {
- this.dateTaskArr[this.dateActiv] = [];
+ this.$set(this.dateTaskArr, this.dateActiv, [])
this.dateTaskArr[this.dateActiv].push(this.taskInp);
} else {
this.dateTaskArr[this.dateActiv].push(this.taskInp);
}
this.taskInp = '';
//console.log(this.dateTaskArr);
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question