完成导航显示
This commit is contained in:
parent
870c053042
commit
94f79d2d71
|
@ -24,7 +24,7 @@ export default class App extends Component {
|
||||||
<Route path="/home" component={home} />
|
<Route path="/home" component={home} />
|
||||||
<Route exact={true} path="/home" render={
|
<Route exact={true} path="/home" render={
|
||||||
()=> (
|
()=> (
|
||||||
<Redirect to="/home#/plan"/>)}>
|
<Redirect to="/home#/system/account-list"/>)}>
|
||||||
</Route>
|
</Route>
|
||||||
<Route exact={true} path="/" render={
|
<Route exact={true} path="/" render={
|
||||||
()=> (
|
()=> (
|
||||||
|
|
|
@ -93,7 +93,7 @@ export default class topNav extends React.Component{
|
||||||
):null
|
):null
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
breakflag==true&&breaknav!=''?(
|
breakflag==true&&breaknav!=''&&routeflag=='true'?(
|
||||||
<div className="linkmenu">
|
<div className="linkmenu">
|
||||||
{
|
{
|
||||||
breaknav.map((item,key)=>{
|
breaknav.map((item,key)=>{
|
||||||
|
|
|
@ -135,7 +135,9 @@ export default class acclist extends React.Component{
|
||||||
"name": "新建兑换码"
|
"name": "新建兑换码"
|
||||||
}
|
}
|
||||||
]}]
|
]}]
|
||||||
|
|
||||||
sessionStorage.setItem('breaknav',JSON.stringify(activerou));
|
sessionStorage.setItem('breaknav',JSON.stringify(activerou));
|
||||||
|
sessionStorage.setItem('showflag',false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue