diff --git a/frontend/src/components/canvas/components/editor/ComponentWrapper.vue b/frontend/src/components/canvas/components/editor/ComponentWrapper.vue index 78ed44e70a..7f444018a5 100644 --- a/frontend/src/components/canvas/components/editor/ComponentWrapper.vue +++ b/frontend/src/components/canvas/components/editor/ComponentWrapper.vue @@ -365,6 +365,7 @@ export default { .main_view { position: relative; background-size: 100% 100% !important; + z-index: 1; } .component { diff --git a/frontend/src/views/chart/chart/map/map_antv.js b/frontend/src/views/chart/chart/map/map_antv.js index 3db4064e75..4576dfc5dc 100644 --- a/frontend/src/views/chart/chart/map/map_antv.js +++ b/frontend/src/views/chart/chart/map/map_antv.js @@ -37,6 +37,7 @@ export function baseFlowMapOption(chartDom, chartId, chart, action) { } } if (xAxis?.length < 2 || xAxisExt?.length < 2) { + chartDom.removeAllLayer() return chartDom } chartDom.removeAllLayer()