forked from Gitlink/forgeplus-react
解决直接打开文章详情定位错误的问题
This commit is contained in:
parent
1b2fb9a0c2
commit
f0ad4377a7
|
|
@ -101,7 +101,7 @@ function Index(props){
|
|||
}
|
||||
return(
|
||||
<div className="information_main">
|
||||
{ id && <PublicBanner {...props} data={data} temp={ temp } adminUrl={adminUrl}/> }
|
||||
{ id ? <PublicBanner {...props} data={data} temp={ temp } adminUrl={adminUrl}/> : <div style={{ width: '100%', height: '450px' }}></div>}
|
||||
<Switch>
|
||||
<Route
|
||||
path="/zone/:deptId/news/:cateId"
|
||||
|
|
|
|||
Loading…
Reference in New Issue