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);
},