可选允许搜索

This commit is contained in:
2021-12-15 00:05:42 +08:00
parent 3d8a443166
commit 3fa49b9ad6
6 changed files with 37 additions and 11 deletions

View File

@@ -136,7 +136,7 @@ class ControlBar extends PureComponent {
className="control-search"
value={this.state.search_text}
placeholder={
this.props.mode === 'attention' ? '在关注列表中搜索' : 'tag #树洞号, 如: 新手导引'}
this.props.mode === 'attention' ? '在关注列表中搜索' : '关键词 / tag / #树洞号'}
onChange={this.on_change_bound}
onKeyPress={this.on_keypress_bound}
/>