摘要: // 将二维数组转化为一维数组 let component_id=[[1,2],[3,4],[5,6]] const array = component_id.flat(Infinity); const obj = { component_id: Array.from(new Set(array)) 阅读全文
posted @ 2022-11-28 21:48 小十六哇 阅读(194) 评论(0) 推荐(0) 编辑