forked from p96170835/amis
传错了对象
This commit is contained in:
parent
96cfb18c9f
commit
b4c98198ca
|
@ -206,7 +206,8 @@ export class Chart extends React.Component<ChartProps> {
|
|||
config = new Function('return ' + config)();
|
||||
}
|
||||
try {
|
||||
onDataFilter && (config = onDataFilter(config, this.echarts) || config);
|
||||
onDataFilter &&
|
||||
(config = onDataFilter(config, (window as any).echarts) || config);
|
||||
} catch (e) {
|
||||
console.warn(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue