Comparing version 1.0.23 to 1.0.25
@@ -229,2 +229,6 @@ import {Component} from 'react'; | ||
setChartList = (value) => { | ||
console.log(value) | ||
} | ||
render() { | ||
@@ -247,3 +251,3 @@ const {showType, showTypeName} = this.state; | ||
options.map((item, i) => { | ||
return (<ChartItem key={i} option={item}/>) | ||
return (<ChartItem key={i} option={item} loadOk={this.setChartList}/>) | ||
}) | ||
@@ -250,0 +254,0 @@ } |
@@ -18,2 +18,4 @@ import {Component} from 'react'; | ||
let tempChart = await highchart.chart(elem, option); | ||
const {loadOk} = this.props; | ||
loadOk(tempChart) | ||
} | ||
@@ -20,0 +22,0 @@ |
{ | ||
"name": "carhome", | ||
"version": "1.0.23", | ||
"version": "1.0.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/vi.js", |
Sorry, the diff of this file is too big to display
3092070
2497