Merge branch 'master' of https://git.loafle.net/overflow/Test_Web_Router
This commit is contained in:
commit
9688937838
|
@ -16,6 +16,8 @@ export class DiscoveryDetails extends React.Component<any, any> {
|
|||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
componentWillMount() {
|
||||
this.probeTemp =
|
||||
{
|
||||
|
@ -29,7 +31,8 @@ export class DiscoveryDetails extends React.Component<any, any> {
|
|||
"host": {
|
||||
"ip": "192.168.1.103",
|
||||
"mac": "44:8a:5b:44:8c:e8",
|
||||
"os": "Ubuntu 17.04"
|
||||
"os": "Ubuntu 17.04",
|
||||
"name": "?????"
|
||||
},
|
||||
"createAt": "2017-07-12",
|
||||
"probeKey": "AGBLKDFJ2452ASDGFL2KWJLKSDJ",
|
||||
|
@ -57,10 +60,10 @@ export class DiscoveryDetails extends React.Component<any, any> {
|
|||
render() {
|
||||
return (
|
||||
<Container fluid>
|
||||
<Header as='h3' dividing> Discovery Details</Header>
|
||||
<DiscoveryProbe probe={this.probeTemp}/>
|
||||
<br />
|
||||
<DiscoveryTable onProbeChange={this.handleProbeChange.bind(this)} />
|
||||
<Header as='h3' dividing> Discovery Details</Header>
|
||||
<DiscoveryProbe probe={this.probeTemp}/>
|
||||
<br />
|
||||
<DiscoveryTable onProbeChange={this.handleProbeChange.bind(this)} />
|
||||
|
||||
<Modal size='small' open={this.state.startPopup} onClose={this.handlePopupClose}>
|
||||
<Modal.Header>Change your password Enter email address.</Modal.Header>
|
||||
|
|
|
@ -42,31 +42,31 @@ export class DiscoveryTable extends React.Component<any, any> {
|
|||
|
||||
let value: string = data.value;
|
||||
switch (data.tabIndex) {
|
||||
case '0':{
|
||||
case '1':{
|
||||
this.setState({
|
||||
startIp: value,
|
||||
});
|
||||
break;
|
||||
}
|
||||
case '1':{
|
||||
case '2':{
|
||||
this.setState({
|
||||
endIP: value,
|
||||
});
|
||||
break;
|
||||
}
|
||||
case '2':{
|
||||
case '3':{
|
||||
this.setState({
|
||||
excludeIp: value,
|
||||
});
|
||||
break;
|
||||
}
|
||||
case '3':{
|
||||
case '4':{
|
||||
this.setState({
|
||||
startPort: value,
|
||||
});
|
||||
break;
|
||||
}
|
||||
case '4':{
|
||||
case '5':{
|
||||
this.setState({
|
||||
endPort: value,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user