首页
This commit is contained in:
parent
bf03c8be10
commit
adfa0156e0
@ -203,18 +203,21 @@ watchEffect(() => {
|
||||
seachTypeData.data = store.state.seachTypeData
|
||||
indexData.data = store.state.indexData
|
||||
ListSelectBtn.data = store.state.ListSelectBtn
|
||||
indexData.data.tabs.map(res => {
|
||||
if (res.name === "个人房源") {
|
||||
res.path = '/personHousing'
|
||||
} else if (res.name === "中介房源") {
|
||||
res.path = '/intermediaryHousing'
|
||||
} else if (res.name === "求房源") {
|
||||
res.path = '/needHousing'
|
||||
} else if (res.name === "品牌公寓") {
|
||||
res.path = ''
|
||||
}
|
||||
if (indexData.data.length) {
|
||||
indexData.data.tabs.map(res => {
|
||||
if (res.name === "个人房源") {
|
||||
res.path = '/personHousing'
|
||||
} else if (res.name === "中介房源") {
|
||||
res.path = '/intermediaryHousing'
|
||||
} else if (res.name === "求房源") {
|
||||
res.path = '/needHousing'
|
||||
} else if (res.name === "品牌公寓") {
|
||||
res.path = ''
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
//公寓数据
|
||||
|
Loading…
x
Reference in New Issue
Block a user