搜索标红效果

This commit is contained in:
tangly1024
2022-03-03 11:40:29 +08:00
parent 636e7be12a
commit 180b0245bd
4 changed files with 18 additions and 12 deletions

View File

@@ -49,7 +49,6 @@ export async function getAllPosts ({ notionPageData, from, pageType }) {
})
if (!posts || posts.length === 0) {
console.warn('文章列表为空')
const cacheKey = 'page_block_' + BLOG.NOTION_PAGE_ID
await delCacheData(cacheKey)
}