diff --git a/themes/nav/components/SearchInput.js b/themes/nav/components/SearchInput.js index 45dfc4e9508..2e8b640e8e9 100755 --- a/themes/nav/components/SearchInput.js +++ b/themes/nav/components/SearchInput.js @@ -40,7 +40,7 @@ const SearchInput = ({ currentSearch, cRef, className }) => { // } for (let i = filterAllNavPages.length - 1; i >= 0; i--) { const post = filterAllNavPages[i] - const articleInfo = post.title + '' + const articleInfo = post.title + ' ' + post.summary const hit = articleInfo.toLowerCase().indexOf(keyword.toLowerCase()) > -1 if (!hit) { // 删除