提交 b918f443 编写于 作者: W wangyun 提交者: 陈帅

fix error in workplace #1660

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册