Merge branch 'fork/caodachen/fix_useEcharts'
commit
e39a432210
|
|
@ -116,6 +116,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
|
|||
chartInstance?.dispose();
|
||||
const instance = initCharts();
|
||||
if (!instance) return;
|
||||
chartInstance = instance;
|
||||
}
|
||||
clear && chartInstance?.clear();
|
||||
chartInstance?.setOption(currentOptions);
|
||||
|
|
|
|||
Loading…
Reference in New Issue