Commit b3821d53 authored by jim's avatar jim Committed by ι™ˆεΈ…

fix tagcloud bug

parent 083c2852
...@@ -77,7 +77,7 @@ class TagCloud extends Component { ...@@ -77,7 +77,7 @@ class TagCloud extends Component {
@Bind() @Bind()
@Debounce(500) @Debounce(500)
renderChart = nextProps => { renderChart(nextProps) {
// const colors = ['#1890FF', '#41D9C7', '#2FC25B', '#FACC14', '#9AE65C']; // const colors = ['#1890FF', '#41D9C7', '#2FC25B', '#FACC14', '#9AE65C'];
const { data, height } = nextProps || this.props; const { data, height } = nextProps || this.props;
...@@ -129,7 +129,7 @@ class TagCloud extends Component { ...@@ -129,7 +129,7 @@ class TagCloud extends Component {
} else { } else {
onload(); onload();
} }
}; }
render() { render() {
const { className, height } = this.props; const { className, height } = this.props;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment