Commit 7771daad authored by Hsinli's avatar Hsinli

addd

parent 93906451
...@@ -547,7 +547,7 @@ class NewHouseService extends Service { ...@@ -547,7 +547,7 @@ class NewHouseService extends Service {
} }
//是否有值来增加筛选项 //是否有值来增加筛选项
if (condition.unit_price) {//单价 if (condition.unit_price && condition.unit_price.hasOwnProperty('min') && condition.unit_price.hasOwnProperty('max')) {//单价
filter.queryConditions.push( filter.queryConditions.push(
{ {
key: 'referenceAvgPrice', key: 'referenceAvgPrice',
...@@ -561,7 +561,7 @@ class NewHouseService extends Service { ...@@ -561,7 +561,7 @@ class NewHouseService extends Service {
} }
); );
} }
if (condition.total_price) {//总价 if (condition.total_price && condition.total_price.hasOwnProperty('min') && condition.total_price.hasOwnProperty('max')) {//总价
filter.queryConditions.push( filter.queryConditions.push(
{ {
key: 'referenceTotalPrice', key: 'referenceTotalPrice',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment