mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-09 07:26:47 +00:00
Seach Add Support post.summary
This commit is contained in:
@@ -40,7 +40,7 @@ const SearchInput = ({ currentSearch, cRef, className }) => {
|
|||||||
// }
|
// }
|
||||||
for (let i = filterAllNavPages.length - 1; i >= 0; i--) {
|
for (let i = filterAllNavPages.length - 1; i >= 0; i--) {
|
||||||
const post = filterAllNavPages[i]
|
const post = filterAllNavPages[i]
|
||||||
const articleInfo = post.title + ''
|
const articleInfo = post.title + ' ' + post.summary
|
||||||
const hit = articleInfo.toLowerCase().indexOf(keyword.toLowerCase()) > -1
|
const hit = articleInfo.toLowerCase().indexOf(keyword.toLowerCase()) > -1
|
||||||
if (!hit) {
|
if (!hit) {
|
||||||
// 删除
|
// 删除
|
||||||
|
|||||||
Reference in New Issue
Block a user