報(bào)錯(cuò)Unexpectedtoken,expected","JSX代碼render(){constrouteInfo={'news':[{name:'國(guó)內(nèi)新聞',path:'china',component:'China'},{name:'國(guó)外新聞',path:'world',component:'World'}];return(({Object.entries(routeInfo).map(([p,r],index1)=>{return(({r.map((i,index2)=>())})}/>)})})}/>)}我的哪里的語(yǔ)法有問(wèn)題么?環(huán)境:"react":"^16.9.0""react-router-dom":"^5.0.1"
急求?。。。eact jsx語(yǔ)法報(bào)錯(cuò)
慕妹3242003
2019-09-05 09:03:35