Authored by 肖亚东

进入品牌列表页面,点击筛选按钮,进入筛选页面 品牌筛选可以被清除,点击确认后展示所有的商品问题修改 — review by 李其昌

@@ -43,6 +43,11 @@ export default class Search extends Component { @@ -43,6 +43,11 @@ export default class Search extends Component {
43 43
44 let {selectList} = this.state; 44 let {selectList} = this.state;
45 selectList = this.props.filterData; 45 selectList = this.props.filterData;
  46 +
  47 + let brandValue = params['brand'];
  48 + if (brandValue) {
  49 + selectList['brand'] = brandValue;
  50 + }
46 if (selectList) { 51 if (selectList) {
47 this.setState({ 52 this.setState({
48 selectList 53 selectList