diff --git a/src/pages/Index/Index.js b/src/pages/Index/Index.js index 5e5af78..449c190 100644 --- a/src/pages/Index/Index.js +++ b/src/pages/Index/Index.js @@ -69,7 +69,10 @@ const Index = () => { setStart(start); } } - if (!endId) return; + if (!endId) { + if (start) map.changeFloor(start.floorOrder); + return; + } if (mall.mcShopIDHouseNumMap && mall.mcShopIDHouseNumMap[endId]) endId = mall.mcShopIDHouseNumMap[endId];