Traverse the double-layer array in the jsx grammar, and the contents of each layer have to be rendered.

clipboard.png

clipboard.png
how to do this

Mar.10,2021

map twice,

fil.map(f=>
    <div>
        {f.child.map(c=><div></div>)}
    </div>

filtrateFields.map((item,i) =>{
     return(
     <div key={i}>
     {item.name}
     </div>
     )
     item.map((list,k) =>{
       return(
       <div key={k}>
       {list.name}
       </div>
       )
     })
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f42f-2bcd1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f42f-2bcd1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?