完成导航显示

This commit is contained in:
red-deng-deng 2021-11-08 16:31:48 +08:00
parent 870c053042
commit 94f79d2d71
3 changed files with 4 additions and 2 deletions

View File

@ -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={
()=> ( ()=> (

View File

@ -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)=>{

View File

@ -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);
} }