筛选组件选择一级区域优化
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
<!-- -->
|
||||
<div
|
||||
v-if="routePath === '/personHousing' || routePath === '/intermediaryHousing' || routePath === '/needHousing'">
|
||||
<selectTabBox :setSeachCondition="setSeachConditions"></selectTabBox>
|
||||
<selectTabBox :setSeachCondition="setSeachConditions" :setLocation="setLocation"></selectTabBox>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -186,6 +186,12 @@ let seachList = (item) => {
|
||||
})
|
||||
}
|
||||
|
||||
//设置点击一级区域
|
||||
let setLocation=(type,data)=>{
|
||||
seachAllType[type] = data
|
||||
seachAllType['school']=''
|
||||
}
|
||||
|
||||
//设置搜索数据
|
||||
let setSeachConditions = (type, data, second = null) => {
|
||||
if (type === 'rent') {
|
||||
|
||||
Reference in New Issue
Block a user