From d9500670f99d6451d301bf9d1bb319ced5e4e613 Mon Sep 17 00:00:00 2001 From: gaozl Date: Fri, 6 Jun 2025 17:40:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 224afd3..bc2b308 100644 --- a/main.js +++ b/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{