item.on("mouseover", async (e) => {
if (selectData.sceneValue === "2") {
return;
}
if (hoverTimeOut === null) {
hoverTimeOut = setTimeout(() => {
hoverTimeOut = null;
messageData.value = info;
message_type.value = info.code;
const position = [e.lnglat.KL, e.lnglat.kT];
hoverStatus.value = !hoverStatus.value;
isMessage.value = true;
routeInfoSave(info);
nextTick(()=>{
messageBase(info.code, position);
})
}, 1000);
}
});
item.on("mouseout", (e) => {
clearTimeout(hoverTimeOut);
hoverTimeOut = null;
});
08-11
1225
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-25
3755
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-08
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交