From 231ecb465e1960767c6bb437b46edcb2cfa75670 Mon Sep 17 00:00:00 2001 From: lyf <2514544224@qq.com> Date: Tue, 14 Jul 2026 00:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E9=A6=96=E9=A1=B5=E6=9D=A5?= =?UTF-8?q?=E9=A6=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 17 +++++++++++------ tests/unit/IndexPoiSearchFlow.spec.ts | 10 ++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index f380a3d..bd240c4 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -41,9 +41,9 @@ zoom-controls-top="calc(100vh - 292px)" :route-preview="activeRoutePreview" :show-route="Boolean(activeRoutePreview)" - :outdoor-markers="arrivalOutdoorMarkers" - :active-outdoor-marker-id="activeArrivalMarkerId" - :outdoor-focus-offset-y="arrivalOutdoorFocusOffsetY" + :outdoor-markers="homeArrivalFeatureEnabled ? arrivalOutdoorMarkers : []" + :active-outdoor-marker-id="homeArrivalFeatureEnabled ? activeArrivalMarkerId : ''" + :outdoor-focus-offset-y="homeArrivalFeatureEnabled ? arrivalOutdoorFocusOffsetY : 0" :disable-auto-exit="disableIndoorAutoExit" @mode-change="handleModeChange" @floor-request="handleFloorRequest" @@ -60,7 +60,7 @@ @outdoor-marker-click="handleArrivalMarkerClick" >