fix: 修改折线图不展示,不会动态变更的bug

This commit is contained in:
奔跑的面条
2022-04-06 13:38:19 +08:00
parent cc0ecedd4e
commit e8ce806082
6 changed files with 3869 additions and 5703 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export const useChartDataFetch = (
fetchInterval = setInterval(async () => {
const res:any = await http(requestHttpType.value)(completePath || '', {})
if (res.data) {
// 是否是 Echarts
// 是否是 Echarts 组件
const isECharts =
targetComponent.chartConfig.package ===
PackagesCategoryEnum.CHARTS