Merge pull request #5441 from dataease/pr@dev@fix_flow_map_multiplex

fix(视图-流向地图): 修复流向地图复用按钮被遮挡
This commit is contained in:
wisonic-s 2023-06-14 16:53:16 +08:00 committed by GitHub
commit a05969a352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()