(list, item, row, maxWidth);
} else {
// 宽度不足,判断下一行
return pushImg(list, row + 1, opt);
}...maxWidth) {
return;
}
const innerList = jsON.parse(jsON.stringify(list));
const remaindArr...allRow = pushImg(allRow, 0, { maxWidth, item });
}
console.log('allRow======>', maxWidth, allRow...);
// 处理异常数据
deal && this.initRemaindImg(remaindArr);
return buildImgList(allRow, maxWidth);
}...allRow = pushImg(allRow, 0, { maxWidth, item });
}
console.log('allRow======>', maxWidth, allRow