|
@@ -450,7 +450,9 @@ function checkSite(site: any) {
|
|
|
findSiteDataCount(site.siteID).then((result: any) => {
|
|
|
siteDataCount.value = result;
|
|
|
})
|
|
|
- nowCheckSite.value = JSON.parse(JSON.stringify(site))
|
|
|
+ nowCheckSite.value = JSON.parse(JSON.stringify(site));
|
|
|
+ // 关闭地图上的其他信息弹窗
|
|
|
+ (map as any).closeInfoWindow();
|
|
|
if (site.siteLongitude && site.siteLatitude) {
|
|
|
// 设置地图中心点
|
|
|
(map as any).centerAndZoom(new T.LngLat(site.siteLongitude, site.siteLatitude), (map as any).getZoom());
|