|
|
@@ -48,13 +48,11 @@ class Login extends Component {
|
|
|
|
|
|
<Layout style={{marginTop: '64px', zIndex: '0'}}>
|
|
|
<Content className={'layout-content-login'}>
|
|
|
- <Router>
|
|
|
- <Switch>
|
|
|
- <PrivateRoute exact path="/login" ownProps={ownProps} component={LoginInput}/>
|
|
|
- <Route path="/login/account" component={AccountConfig}/>
|
|
|
- <PrivateRoute path="/login/cloud" ownProps={ownProps} component={CloudConfig}/>
|
|
|
- </Switch>
|
|
|
- </Router>
|
|
|
+ <Switch>
|
|
|
+ <PrivateRoute exact path="/login" ownProps={ownProps} component={LoginInput}/>
|
|
|
+ <Route path="/login/account" component={AccountConfig}/>
|
|
|
+ <PrivateRoute path="/login/cloud" ownProps={ownProps} component={CloudConfig}/>
|
|
|
+ </Switch>
|
|
|
</Content>
|
|
|
</Layout>
|
|
|
</Layout>
|