前端工作小结27-任务+1逻辑_前端

 

/*控制任务的添加功能*/
addFrom(index,item) {
var tasks = {
name: "",
start_time: null
}
this.form.departmentList[index].accounts[item].tasks.push(tasks);
},