This commit is contained in:
red-deng-deng 2021-11-08 16:52:56 +08:00
parent 94f79d2d71
commit 7861edbc4a
5 changed files with 15 additions and 7 deletions

View File

@ -22,10 +22,10 @@ export default class App extends Component {
<Router>
<Route path="/login" exact={true} component={login} />
<Route path="/home" component={home} />
<Route exact={true} path="/home" render={
{/* <Route exact={true} path="/home" render={
()=> (
<Redirect to="/home#/system/account-list"/>)}>
</Route>
</Route> */}
<Route exact={true} path="/" render={
()=> (
<Redirect to="/login"/>)}>

View File

@ -93,7 +93,7 @@ export default class topNav extends React.Component{
):null
}
{
breakflag==true&&breaknav!=''&&routeflag=='true'?(
breakflag==true&&breaknav!=null&&routeflag=='true'?(
<div className="linkmenu">
{
breaknav.map((item,key)=>{

View File

@ -18,9 +18,14 @@ export default class accadd extends React.Component{
}
render(){
return(
<div id="accadd" className="maincenter">
<div id="exchangeadd" className="maincenter">
<Card style={{ width:'100%' }} title={this.state.pagetitle}>
<p className="addaccount">
<p className="addcode">
</p>
</Card>
<Card style={{ width:'100%',marginTop:'15px' }} title={this.state.pagetitle}>
<p className="addcode">
</p>
</Card>

View File

@ -0,0 +1,4 @@
#exchangeadd{
.addcode{
}
}

View File

@ -137,7 +137,6 @@ export default class acclist extends React.Component{
]}]
sessionStorage.setItem('breaknav',JSON.stringify(activerou));
sessionStorage.setItem('showflag',false);
}