删除数组中元素的方法有delete,splice;这里先记录splice function bantchDelete (taskList,deleteTaskIds){ for (let i=0; i<taskList.length;){ let task = taskList