// arr 待分割数组
// 每组多少条数据
function arrSlice(arr,num){
let count = arr.length / num
let new = []
for( let i = 0; i < count; i++){
newArr.push(arr.slice( i * num.( i + 1 ) * num))
}
return newArr
}
// arr 待分割数组
// 每组多少条数据
function arrSlice(arr,num){
let count = arr.length / num
let new = []
for( let i = 0; i < count; i++){
newArr.push(arr.slice( i * num.( i + 1 ) * num))
}
return newArr
}