个人/中介 搜索 求房源 首页更新

This commit is contained in:
2023-07-20 17:18:53 +08:00
parent 60f0f45def
commit 4adeb65dbd
8 changed files with 68 additions and 59 deletions

View File

@@ -238,6 +238,9 @@ let setSeachConditions = (type, data) => {
...data
}
}
if(!seachVal.value){
seachAllType.searchid=''
}
// console.log('seachAllType', seachAllType)
// return
getDataList(seachAllType, tabType.value)
@@ -266,7 +269,7 @@ let searchInit = (data) => {
}
//搜索数据
let seachList = (item) => {
console.log(seachVal.value)
if(seachVal.value.replace(/\s/g,""))return
if (!seachVal.value) {
return
}