求房源页面+接口修改
This commit is contained in:
@@ -185,7 +185,8 @@ let seachList = (item) => {
|
||||
}
|
||||
|
||||
//设置搜索数据
|
||||
let setSeachConditions = (type, data,second) => {
|
||||
let setSeachConditions = (type, data,second=null) => {
|
||||
console.log(type,data,second)
|
||||
if (type === 'rent') {
|
||||
seachAllType['rent_min'] = data.min
|
||||
seachAllType['rent_max'] = data.max
|
||||
@@ -203,7 +204,11 @@ let setSeachConditions = (type, data,second) => {
|
||||
if (type === 'location') {
|
||||
seachAllType.school = ''
|
||||
}
|
||||
if(second){
|
||||
seachAllType[second.type]=second.id
|
||||
}
|
||||
// console.log('seachAllType', seachAllType)
|
||||
// return
|
||||
getDataList(seachAllType)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user