This commit is contained in:
2023-07-14 15:47:09 +08:00
parent bf03c8be10
commit adfa0156e0

View File

@@ -203,18 +203,21 @@ watchEffect(() => {
seachTypeData.data = store.state.seachTypeData seachTypeData.data = store.state.seachTypeData
indexData.data = store.state.indexData indexData.data = store.state.indexData
ListSelectBtn.data = store.state.ListSelectBtn ListSelectBtn.data = store.state.ListSelectBtn
indexData.data.tabs.map(res => { if (indexData.data.length) {
if (res.name === "个人房源") { indexData.data.tabs.map(res => {
res.path = '/personHousing' if (res.name === "个人房源") {
} else if (res.name === "中介房源") { res.path = '/personHousing'
res.path = '/intermediaryHousing' } else if (res.name === "中介房源") {
} else if (res.name === "求房源") { res.path = '/intermediaryHousing'
res.path = '/needHousing' } else if (res.name === "求房源") {
} else if (res.name === "品牌公寓") { res.path = '/needHousing'
res.path = '' } else if (res.name === "品牌公寓") {
} res.path = ''
}
})
}
})
}) })
//公寓数据 //公寓数据