删除 screenlog

This commit is contained in:
eson
2020-08-26 09:54:57 +08:00
parent 2e6814fb8c
commit 6fd40fa634
8 changed files with 19 additions and 94 deletions

View File

@@ -121,21 +121,17 @@ class ChartsCount extends React.Component {
}
countMethod(countkey, title) {
this.setState({countkey: countkey, title: title}, ()=>{this.updateData()});
this.setState({ countkey: countkey, title: title }, () => { this.updateData() });
}
render() {
return (
<div style={{ padding: 24, background: '#fff', minHeight: 780 }} >
<div>
<Row justify="start">
<Col span={3}> <Button type="primary" onClick={(e)=>{ this.countMethod("count", e.target.innerText) }} >统计数量关系</Button> </Col>
<Col span={3}>
<Button type="primary" onClick={(e)=>{
this.countMethod("followers", e.target.innerText)
}}>统计关注关系</Button>
</Col>
<Col span={3}> <Button type="primary" onClick={(e)=>{ this.countMethod("gratuity", e.target.innerText) }} >统计赏币关系</Button> </Col>
<Row justify="start" gutter={{ xs: 8, sm: 16, md: 24, lg: 32 }}>
<Col span={4}> <Button type="primary" onClick={(e) => { this.countMethod("count", e.target.innerText) }} >数量关系</Button> </Col>
<Col span={4}> <Button type="primary" onClick={(e) => { this.countMethod("followers", e.target.innerText) }}>与关注关系</Button> </Col>
<Col span={4}> <Button type="primary" onClick={(e) => { this.countMethod("gratuity", e.target.innerText) }} >与赏币关系</Button> </Col>
</Row>
</div>
<Divider />