Browse Source

fix: 导航

master
高志龙 1 year ago
parent
commit
d9500670f9
  1. 9
      main.js

9
main.js

@ -59,7 +59,7 @@ window.audioStart = () => {
addMy(); //添加我气泡
setScrollPosition();
}
//callAiModel("服务台在哪里");
//callAiModel("我要去洗手间");
}
}
@ -258,11 +258,10 @@ window.pathFac = function(event){
document.getElementById("mapContainer").style.visibility = "visible";
try{
let nodeObject = Map_QM.pathIcon({"type":event.target.dataset.num});
Map_QM.pathNode(nodeObject,()=>{
});
Map_QM.pathNode(nodeObject,()=>{ });
}catch(e){
console.log(e);
let nodeObject = Map_QM.pathIcon({"type":"fwt"});
Map_QM.pathNode(nodeObject,()=>{}); //导航设施报错就导航到服务台
}
mark.addEventListener("click", ()=>{
try{

Loading…
Cancel
Save