1. let arr = [
    2. {
    3. describe: "描述1",
    4. imgKey: "https://tianshu.alicdn.com/84e8d93a-0743-4e2a-aace-ded73b47453c.png",
    5. showFlag: null,
    6. showOrder: 0,
    7. title: "资产政策",
    8. url: "https://tianshu.alicdn.com/84e8d93a-0743-4e2a-aace-ded73b47453c.png"
    9. }
    10. ]
    11. let newArr=arr.map(item=>{
    12. return{
    13. title:item.title,
    14. src:item.imgKey,
    15. link:{
    16. type:"url",
    17. href:item.url,
    18. target:"_blank"
    19. }
    20. }
    21. })
    22. console.log("嵌套后的数组对象:",newArr)