Explorar o código

fix:搜索页面的参数

chenzhen2 hai 1 ano
pai
achega
3a0bb3af0d
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/packagesEnv/pages/search/index.wpy

+ 4 - 2
src/packagesEnv/pages/search/index.wpy

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