|
@@ -54,8 +54,8 @@ export default withLayout((props) => {
|
54
|
54
|
// 用户选择 200, 则区间为 [100, 300]
|
55
|
55
|
// 用户选择 300, 则区间为 [200, 400]
|
56
|
56
|
const price = item.result === '' ? 300 : item.result - 0;
|
57
|
|
- const min = price < 100 ? 100 : price - 100;
|
58
|
|
- const max = price + 100;
|
|
57
|
+ const min = item.options[0]
|
|
58
|
+ const max = price
|
59
|
59
|
|
60
|
60
|
params.push({ ...item, key: 'minPrice', result: CurrentDemandId === 2 ? min : min * 10000 })
|
61
|
61
|
params.push({ ...item, key: 'maxPrice', result: CurrentDemandId === 2 ? max : max * 10000 })
|