Commit ccf23c14 by YKai

feat: 筛选框手动输入价格也取后端返回的key1字段的值

parent 2b70451f
......@@ -107,8 +107,8 @@ class FilterPopupWindow(
}
view.btnConfirm.setOnClickListener {
if (tempFilter.priceRanges != null && tempFilter.priceRanges!!.key1 == "avg_price" && filterData.priceRanges.isNotEmpty()) {
tempFilter.priceRanges!!.key1 = filterData.priceRanges[0].key1
if (tempFilter.priceRanges?.key1 == "avg_price" && filterData.priceRanges.isNotEmpty()) {
tempFilter.priceRanges?.key1 = filterData.priceRanges[0].key1
}
biEvent(ConsultBIConstants.POSITION_CONSULT_FILTER_CHECKOUT_CLICK)
onFilterConfirmListener?.onFilterConfirmed()
......
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