删除 screenlog
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user