搜索页 详情页跳转设置

This commit is contained in:
2023-07-28 11:52:59 +08:00
parent 65f43ea7db
commit a98e3280d5
5 changed files with 48 additions and 45 deletions

View File

@@ -281,6 +281,8 @@ let seachAllType = reactive({
})
//设置搜索数据
let setSeachConditions = (type, data) => {
console.log(1,seachAllType)
console.log(type.value)
if (seachAllType['tabType'] !== 'apartment') {
if (type === 'rent') {
seachAllType['rent_min'] = data.min
@@ -300,7 +302,8 @@ let setSeachConditions = (type, data) => {
}
} else {
seachAllType = {
...data
tabType:'apartment',
...type.value
}
}
if (!seachVal.value) {