mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-10 04:22:41 +08:00
Merge branch 'fork/caodachen/fix_useEcharts'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user