Browse Source

fix:搜索页面

chenzhen2 2 năm trước cách đây
mục cha
commit
e86e1474e1

+ 1 - 1
src/packagesEnv/pages/search/index.wpy

@@ -325,7 +325,7 @@ wepy.page({
     checkSpace(item) {
     checkSpace(item) {
       this.activeId = item.permanentSpaceId;
       this.activeId = item.permanentSpaceId;
       // 去地图页面
       // 去地图页面
-      wx.navigateTo({
+      wx.redirectTo({
         url: `/packagesEnv/pages/officehome/index?from='FindIt'&=floorId=${item.floorId}&buildingId=${item.buildingId}&spaceId=${item.permanentSpaceId}`
         url: `/packagesEnv/pages/officehome/index?from='FindIt'&=floorId=${item.floorId}&buildingId=${item.buildingId}&spaceId=${item.permanentSpaceId}`
       });
       });
     },
     },