|
|
@@ -722,7 +722,7 @@ export default {
|
|
|
|
|
|
marker.on('mouseover', (e) => {
|
|
|
if (this.isComponentDestroyed) return;
|
|
|
- if (this.isHomePage) return;
|
|
|
+ if (!this.isHomePage) return;
|
|
|
this.cancelCloseInfoWindow();
|
|
|
this.openLightInfo(e.target.getExtData(), e.lnglat);
|
|
|
|
|
|
@@ -734,7 +734,7 @@ export default {
|
|
|
|
|
|
marker.on('mouseout', (e) => {
|
|
|
if (this.isComponentDestroyed) return;
|
|
|
- if (this.isHomePage) return;
|
|
|
+ if (!this.isHomePage) return;
|
|
|
this.scheduleCloseInfoWindow();
|
|
|
|
|
|
// 传递路口鼠标滑出事件
|