吃个甘蔗嚼一年 3 years ago
parent
commit
6cd683818a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pages/index/tabs/Guide.jsx

+ 2
- 2
src/pages/index/tabs/Guide.jsx View File

83
       })
83
       })
84
       //更多指引
84
       //更多指引
85
       geiZy()
85
       geiZy()
86
-      getRecommendList({ location: roomGps }).then((res) => {
86
+      getRecommendList({ location: taRoomContent.location }).then((res) => {
87
         setPackage(res || [])
87
         setPackage(res || [])
88
         setLoading(false)
88
         setLoading(false)
89
       })
89
       })
102
     if (taRoomContent?.parkingAddress === "") {
102
     if (taRoomContent?.parkingAddress === "") {
103
       setParkingButtonStyle('none')
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
   const goRoomMap = () => {
108
   const goRoomMap = () => {