From 04ca5955508eed97149d123aca154b07990c6e0e Mon Sep 17 00:00:00 2001 From: jiannibang <271381693@qq.com> Date: Thu, 26 Sep 2024 09:47:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=BC=E8=A7=88=E9=A1=B5=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=AF=BC=E8=88=AA=E4=B8=AD=E5=BA=97=E9=93=BA=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E5=86=8D=E6=AC=A1=E5=8F=91=E8=B5=B7=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Guide/Guide.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/Guide/Guide.vue b/src/views/Guide/Guide.vue index ecb1e60..7b5c804 100644 --- a/src/views/Guide/Guide.vue +++ b/src/views/Guide/Guide.vue @@ -164,6 +164,13 @@ function handleMapIcon(item, index) { function handleShop(item) { mapIdx.value = -1 + if (shop.value === item && initiated.value) { + window.Map_QM.pathNode({ floor: item.floorOrder, node: item.yaxis }, ({ angle, cost }) => { + if (isZhiluji()) { + playShockmanByNav({ progText1: item.shopName, progAngel: String(angle), progDist: cost + '米' }) + } + }) + } store.SET_SHOP(item) } watch(shop, nxt => {