fix(视图-流向地图): 修复流向地图复用按钮被遮挡

This commit is contained in:
wisonic-s 2023-06-14 16:50:54 +08:00
parent 4331f0f44c
commit 6c734fd897
2 changed files with 2 additions and 0 deletions

View File

@ -365,6 +365,7 @@ export default {
.main_view {
position: relative;
background-size: 100% 100% !important;
z-index: 1;
}
.component {

View File

@ -37,6 +37,7 @@ export function baseFlowMapOption(chartDom, chartId, chart, action) {
}
}
if (xAxis?.length < 2 || xAxisExt?.length < 2) {
chartDom.removeAllLayer()
return chartDom
}
chartDom.removeAllLayer()