diff --git a/pages/search/[keyword].js b/pages/search/[keyword].js index b91db5e2..74591872 100644 --- a/pages/search/[keyword].js +++ b/pages/search/[keyword].js @@ -120,7 +120,7 @@ async function filterByMemCache(allPosts, keyword) { indexContent = appendText(indexContent, properties, 'caption') }) } - console.log('全文搜索缓存', cacheKey, page) + console.log('全文搜索缓存', cacheKey, page != null) post.results = [] let hitCount = 0 for (const i in indexContent) {