vue拆分数组 arrGroup(array, subGroupLength) { let index = 0; let newArray = []; while (index < array.length) { newArray.push(array.slice(index, (index += subGroupLength))); } return newArray; },