🐛 fix: 修复keys列表日志查询报错

This commit is contained in:
wangsongsole 2023-12-28 15:55:44 +08:00
parent c969adcfd6
commit 42f244fcd3
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ export default class Key extends React.Component {
render() {
return (
<div id="more" className="maincenter">
<TabPage tabs={this.state.tabList} tabChange={this.tabFn.bind(this)}>
<TabPage tabs={this.state.tabList} tabChange={() => this.tabFn.bind(this)}>
{this.state.tabactive == 0 ? (
<div className="main-body">
<Grid
@ -120,7 +120,7 @@ export default class Key extends React.Component {
pageChange={(e) => {
this.pageChange(e)
}}
checkChange={this.selection.bind(this)}
checkChange={() => this.selection.bind(this)}
ComponentHandler={(com, rowData) => {
if (com == "time") {
return <div>{moment.unix(rowData.time).format("YYYY-MM-DD HH:mm:ss")}</div>