router added
This commit is contained in:
parent
4fe77c58e8
commit
6c57c23a06
|
@ -3,6 +3,7 @@ import { Route, RouteProps, Switch } from 'react-router-dom';
|
|||
|
||||
import SignIn from '../views/member/SignIn';
|
||||
import SensorList from '../views/monitoring/sensor/SensorList';
|
||||
import ProbeList from '../views/monitoring/probe/List';
|
||||
|
||||
import { SignUp } from '@overflow/member/react/components/SignUp';
|
||||
// import { SignIn } from '@overflow/member/react/components/SignIn';;
|
||||
|
@ -44,6 +45,8 @@ const routes = (
|
|||
|
||||
<Route exact path='/test21' component={Sensors} />*/}
|
||||
{/*<Route path='/sensorList' component={SensorList} />*/}
|
||||
<Route exact path='/probe_list' component={ProbeList} />
|
||||
|
||||
|
||||
</Switch>
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ export class LeftMenu extends React.Component<any, any> {
|
|||
<Header inverted sub icon='bar graph' content='Monitoring' />
|
||||
</Menu.Header>
|
||||
<Menu.Menu>
|
||||
<Menu.Item href='#/test14' style={{ 'margin-left': '30px' }}>Probe</Menu.Item>
|
||||
<Menu.Item href='/' style={{ 'margin-left': '30px' }}>Sensors</Menu.Item>
|
||||
<Menu.Item href='#/probe_list' style={{ 'margin-left': '30px' }}>Probe</Menu.Item>
|
||||
<Menu.Item href='#/' style={{ 'margin-left': '30px' }}>Sensors</Menu.Item>
|
||||
</Menu.Menu>
|
||||
</Menu.Item>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user