dataList &&标签:cutTask,splice,dataList,item1,id,243,item,数组,any From: https://blog.51cto.com/u_15460007/6049004
dataList.map((item: any, index: any) => {
if (item.id == parentId) {
item.cutTask.map((it: any, num: any) => {
item.cutTask.splice(
item.cutTask.findIndex((item1: any) => item1.id == sonId)
,1);
});
}
});