fix: 修复没有有效统计数据时仍然显示之前的统计信息的问题

This commit is contained in:
augushong
2025-05-07 16:53:09 +08:00
parent 7f4e1369cc
commit 29f248ad93

View File

@@ -380,6 +380,8 @@
if (!resSearch.pois || resSearch.pois.length === 0) {
mapContainer.find('.search-statistics').show();
}
}else{
mapContainer.find('.search-statistics').hide();
}
mapContainer.find('.search-body').show();
});