mirror of
https://gitee.com/dromara/go-view.git
synced 2025-08-06 22:11:16 +08:00
fix(地图): 地图数据编辑回显错误
pieces数据为空时清空
This commit is contained in:
parent
acd4f16ec9
commit
fd6cd5b15f
@ -140,6 +140,7 @@ const dataSetHandle = async (dataset: any) => {
|
||||
props.chartConfig.option.visualMap.pieces = dataset.pieces
|
||||
}else {
|
||||
props.chartConfig.option.visualMap.show = false
|
||||
props.chartConfig.option.visualMap.pieces = []
|
||||
}
|
||||
|
||||
isPreview() && vEchartsSetOption()
|
||||
|
Loading…
x
Reference in New Issue
Block a user