!247 修复点击无数据源组件后,再切换成有数据源的组件时,无法操作数据内容问题

Merge pull request !247 from Liuunicorn/N/A
This commit is contained in:
奔跑的面条 2024-11-20 12:16:43 +00:00 committed by Gitee
commit 663733b4d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -170,6 +170,7 @@ watch(
dimensions: any
} | null
) => {
noData.value = false
if (newData && targetData?.value?.chartConfig?.chartFrame === ChartFrameEnum.ECHARTS) {
// DataSet
source.value = newData