Authored by 孙凯

修改 多余请求 review by zhanglixia

... ... @@ -46,9 +46,13 @@ export default class OutletPageListView extends Component {
resource,
} = this.props;
if (resource.get('sort_name')=='即将开始' || resource.get('sort_name') == '即将结束') {
this.props.getOutletActivityList && this.props.getOutletActivityList(resource.get('content_code'));
}else {
this.props.getOutletHomeResource && this.props.getOutletHomeResource(resource.get('content_code'),ptr);
this.props.getOutletActivityList && this.props.getOutletActivityList(resource.get('content_code'));
}
}
_onPressFilter(value){
let {
... ...
... ... @@ -78,6 +78,9 @@ function parseListFromCategory(json) {
json.map((item, i) => {
let url = item.sort_url;
let content_code = GetQueryString(url,'content_code');
if (!content_code) {
content_code = item.content_code;
}
item.content_code = content_code;
})
return json;
... ...