Commit b918f443 authored by wangyun's avatar wangyun Committed by ι™ˆεΈ…

fix error in workplace #1660

parent c100052f
......@@ -31,6 +31,7 @@ export default class Radar extends Component {
getLegendData = () => {
if (!this.chart) return;
const geom = this.chart.getAllGeoms()[0]; // θŽ·ε–ζ‰€ζœ‰ηš„ε›Ύε½’
if (!geom) return;
const items = geom.get('dataArray') || []; // θŽ·ε–ε›Ύε½’ε―ΉεΊ”ηš„
const legendData = items.map(item => {
......
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