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

Signed-off-by: Liuunicorn <8532757+Liuunicorn@user.noreply.gitee.com>
This commit is contained in:
Liuunicorn 2024-09-19 07:16:11 +00:00 committed by Gitee
parent 84890550c8
commit 286bcc5576
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