摘要: const Arr = [ { label: '男', value: 0 }, { label: '女', value: 1 }, ] const needObj = {} Arr.forEach((item) => { const key = item.value const value = it 阅读全文
posted @ 2022-05-24 21:19 粥粥。 阅读(683) 评论(0) 推荐(0)