|
@@ -21,9 +21,9 @@ const MainLayout = (history) => {
|
|
|
</Header>
|
|
</Header>
|
|
|
<Content className='main-content'>
|
|
<Content className='main-content'>
|
|
|
<Switch>
|
|
<Switch>
|
|
|
- <Route path='/demo' component={Demo}/>
|
|
|
|
|
- <Route path='/home' component={Welcome}/>
|
|
|
|
|
- <Route path='/datasource/:type/:code/:tab' component={DataSourceDetail}/>
|
|
|
|
|
|
|
+ <Route sensitive path='/demo' component={Demo}/>
|
|
|
|
|
+ <Route sensitive path='/home' component={Welcome}/>
|
|
|
|
|
+ <Route sensitive path='/datasource/:type/:code/:tab' component={DataSourceDetail}/>
|
|
|
<Route sensitive path='/datasource' component={DataSource}/>
|
|
<Route sensitive path='/datasource' component={DataSource}/>
|
|
|
<Route sensitive path='/dashboard' component={Dashboard} />
|
|
<Route sensitive path='/dashboard' component={Dashboard} />
|
|
|
<Route sensitive path='/chart' component={Chart} />
|
|
<Route sensitive path='/chart' component={Chart} />
|