.
This commit is contained in:
parent
c0f83af30b
commit
f23fcb9cf7
|
@ -15,11 +15,4 @@ export function sec2date(ms: number) {
|
|||
return dateTime.toLocaleString();
|
||||
}
|
||||
|
||||
export function mac2str(from: string) {
|
||||
var hexValue = parseInt(from).toString(16);
|
||||
var macaddress = [];
|
||||
for (var i = 0; i < hexValue.length; i = i + 2) {
|
||||
macaddress.push(hexValue.substr(i, 2));
|
||||
}
|
||||
return macaddress.join(':');
|
||||
}
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ export class Row extends React.Component<any, any> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<Checkbox label={this.props.name + " " + this.props.desc} style={styles.checkbox} onCheck={this.handleCheck.bind(this)} />
|
||||
<Checkbox label={this.props.name + "-------------" + this.props.desc} style={styles.checkbox} onCheck={this.handleCheck.bind(this)} />
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user