1. let arrTitle = ["热门1", "小贴士"]
    2. let obj = {}
    3. for (let key in arrTitle) {
    4. obj[key] = arrTitle[key]
    5. }
    6. let newObj = Object.keys(obj).map(e => {
    7. return {
    8. title: obj[e]
    9. }
    10. })
    11. console.log("转换后的数组对象:", newObj)