Skip to content

Commit

Permalink
修复文档搜索Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 21, 2018
1 parent 2606348 commit da94c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Document/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class DevDocument extends Component {
onChangeTag(tag) {
const { storage, conf } = this.props;
conf.docTag = tag;
this.setState({ tag }, () => {
this.setState({ tag, query: '' }, () => {
storage.set({ conf });
});
}
Expand Down

0 comments on commit da94c39

Please sign in to comment.