Commit 4b9bd0f91d4c7797f7d4df3a89459c8bb9e28037
1 parent
1cc9e009
fix bug
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/community/houses/index.vue
| ... | ... | @@ -154,8 +154,8 @@ const down = () => { |
| 154 | 154 | watchEffect(() => { |
| 155 | 155 | if (route.path == "/houses") { |
| 156 | 156 | searchData.buildingId = route.query.buildingId ?? null; |
| 157 | - searchData.neighborhoodId = Number(route.query.neighborhoodId) ?? null; | |
| 158 | - getHousekeeper(Number(route.query.neighborhoodId)); | |
| 157 | + searchData.neighborhoodId = route.query.neighborhoodId?Number(route.query.neighborhoodId) : null; | |
| 158 | + getHousekeeper(route.query.neighborhoodId); | |
| 159 | 159 | search(); |
| 160 | 160 | } |
| 161 | 161 | }); | ... | ... |