摘要: function get1DArray(arr1:any){ var arr2 = arr1.reduce(function (a:any, b:any) { return a.concat(b) }); return arr2; } get1DArray(dataForm.peiyangminmi 阅读全文
posted @ 2023-03-22 15:17 南瓜壳 阅读(18) 评论(0) 推荐(0) 编辑
摘要: function changeArrNum(arr:any,num:number){ let newCardList:any = []; for (var i = 0; i < arr.length; i += num) { newCardList.push(arr.slice(i, i + num 阅读全文
posted @ 2023-03-22 15:15 南瓜壳 阅读(118) 评论(0) 推荐(0) 编辑