mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
修复点击无数据源组件后,再切换成有数据源的组件时,无法操作数据内容问题
Signed-off-by: Liuunicorn <8532757+Liuunicorn@user.noreply.gitee.com>
This commit is contained in:
parent
84890550c8
commit
286bcc5576
@ -170,6 +170,7 @@ watch(
|
|||||||
dimensions: any
|
dimensions: any
|
||||||
} | null
|
} | null
|
||||||
) => {
|
) => {
|
||||||
|
noData.value = false
|
||||||
if (newData && targetData?.value?.chartConfig?.chartFrame === ChartFrameEnum.ECHARTS) {
|
if (newData && targetData?.value?.chartConfig?.chartFrame === ChartFrameEnum.ECHARTS) {
|
||||||
// 只有 DataSet 数据才有对应的格式
|
// 只有 DataSet 数据才有对应的格式
|
||||||
source.value = newData
|
source.value = newData
|
||||||
|
Loading…
x
Reference in New Issue
Block a user