update config

This commit is contained in:
thuhole
2020-07-01 16:55:19 +08:00
parent 48d375be76
commit a9e1bb15ac
2 changed files with 6 additions and 1 deletions

View File

@@ -526,7 +526,7 @@ class FlowItemRow extends PureComponent {
break;
}
}
let needFold = (FOLD_TAGS.indexOf(this.state.info.tag) > -1) && (this.props.search_param === '热榜' || !this.props.search_param)
let needFold = (FOLD_TAGS.indexOf(this.state.info.tag) > -1) && (this.props.search_param === '热榜' || !this.props.search_param) && window.config.fold
let res=(
<div className={'flow-item-row flow-item-row-with-prompt'+(this.props.is_quote ? ' flow-item-row-quote' : '')} onClick={(event)=>{