From ba3206439f88c2e9623b406b2cf147c6a7d0f4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=A4=9A=E7=9B=8A?= Date: Fri, 24 Sep 2021 13:43:24 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Chart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Chart.tsx b/src/renderers/Chart.tsx index dd736cb86..0148996dd 100644 --- a/src/renderers/Chart.tsx +++ b/src/renderers/Chart.tsx @@ -269,7 +269,7 @@ export class Chart extends React.Component { await env.loadChartExtends(); } - this.echarts = echarts.init(ref, theme); + this.echarts = (echarts as any).init(ref, theme); if (typeof onChartMount === 'string') { onChartMount = new Function('chart', 'echarts') as any;