Commit 3b161a5d authored by 吕祺's avatar 吕祺 ⛹🏽

fix search

parent 5cfdc959
...@@ -119,7 +119,7 @@ export default class NewsPage extends Component { ...@@ -119,7 +119,7 @@ export default class NewsPage extends Component {
handleSearch(e, en) { handleSearch(e, en) {
const { const {
attributes: { news } attributes: { news }
} = newsPage } = newsList
clearTimeout(this.searchTimer) clearTimeout(this.searchTimer)
const s = this.input.value.toLowerCase() const s = this.input.value.toLowerCase()
this.searchTimer = setTimeout(() => { this.searchTimer = setTimeout(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment