多条件查询
sunshinefull opened this issue · 1 comments
sunshinefull commented
如果url地址是http://localhost:8000/test?field=name&field1=address&keyword=6&keyword1=2
如何实现多条件查询onSearch (fieldsValue) {
fieldsValue.keyword.length ? dispatch(routerRedux.push({
pathname: '/users',
query: {
field: fieldsValue.field,
keyword: fieldsValue.keyword
}
})) : dispatch(routerRedux.push({
pathname: '/users'
}))