update
This commit is contained in:
parent
94f79d2d71
commit
7861edbc4a
|
@ -22,10 +22,10 @@ export default class App extends Component {
|
||||||
<Router>
|
<Router>
|
||||||
<Route path="/login" exact={true} component={login} />
|
<Route path="/login" exact={true} component={login} />
|
||||||
<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#/system/account-list"/>)}>
|
<Redirect to="/home#/system/account-list"/>)}>
|
||||||
</Route>
|
</Route> */}
|
||||||
<Route exact={true} path="/" render={
|
<Route exact={true} path="/" render={
|
||||||
()=> (
|
()=> (
|
||||||
<Redirect to="/login"/>)}>
|
<Redirect to="/login"/>)}>
|
||||||
|
|
|
@ -93,7 +93,7 @@ export default class topNav extends React.Component{
|
||||||
):null
|
):null
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
breakflag==true&&breaknav!=''&&routeflag=='true'?(
|
breakflag==true&&breaknav!=null&&routeflag=='true'?(
|
||||||
<div className="linkmenu">
|
<div className="linkmenu">
|
||||||
{
|
{
|
||||||
breaknav.map((item,key)=>{
|
breaknav.map((item,key)=>{
|
||||||
|
|
|
@ -18,9 +18,14 @@ export default class accadd extends React.Component{
|
||||||
}
|
}
|
||||||
render(){
|
render(){
|
||||||
return(
|
return(
|
||||||
<div id="accadd" className="maincenter">
|
<div id="exchangeadd" className="maincenter">
|
||||||
<Card style={{ width:'100%' }} title={this.state.pagetitle}>
|
<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>
|
</p>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#exchangeadd{
|
||||||
|
.addcode{
|
||||||
|
}
|
||||||
|
}
|
|
@ -137,7 +137,6 @@ export default class acclist extends React.Component{
|
||||||
]}]
|
]}]
|
||||||
|
|
||||||
sessionStorage.setItem('breaknav',JSON.stringify(activerou));
|
sessionStorage.setItem('breaknav',JSON.stringify(activerou));
|
||||||
sessionStorage.setItem('showflag',false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue