吃个甘蔗嚼一年 3 年前
父节点
当前提交
6cd683818a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/pages/index/tabs/Guide.jsx

+ 2
- 2
src/pages/index/tabs/Guide.jsx 查看文件

@@ -83,7 +83,7 @@ export default (props) => {
83 83
       })
84 84
       //更多指引
85 85
       geiZy()
86
-      getRecommendList({ location: roomGps }).then((res) => {
86
+      getRecommendList({ location: taRoomContent.location }).then((res) => {
87 87
         setPackage(res || [])
88 88
         setLoading(false)
89 89
       })
@@ -102,7 +102,7 @@ export default (props) => {
102 102
     if (taRoomContent?.parkingAddress === "") {
103 103
       setParkingButtonStyle('none')
104 104
     }
105
-  }, [roomId, taRoomContent?.wifiPassword, taRoomContent?.parkingAddress, location])
105
+  }, [roomId, taRoomContent?.wifiPassword, taRoomContent?.parkingAddress, location, taRoomContent.location])
106 106
 
107 107
 
108 108
   const goRoomMap = () => {