fix: 解决动态返回dataset的字段数量不会自动适配的问题

This commit is contained in:
奔跑的面条
2024-05-27 21:13:45 +08:00
parent 7e424bfcda
commit 526d01b16c
9 changed files with 40 additions and 19 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export const useChartDataFetch = (
const echartsUpdateHandle = (dataset: any) => {
if (chartFrame === ChartFrameEnum.ECHARTS) {
if (vChartRef.value) {
setOption(vChartRef.value, { dataset: dataset })
setOption(vChartRef.value, { dataset: dataset }, false)
}
}
}