previewLine设置

This commit is contained in:
tangly1024
2022-01-25 17:44:49 +08:00
parent 13f53b2bad
commit ddd38a6745
10 changed files with 30 additions and 20 deletions

View File

@@ -26,9 +26,6 @@ export async function getAllPosts ({ notionPageData, from, includePage = false }
const data = []
const pageIds = getAllPageIds(collectionQuery)
if (!pageIds || pageIds.length === 0) {
console.warn('页面ID列表为空')
}
for (let i = 0; i < pageIds.length; i++) {
const id = pageIds[i]
const properties = (await getPageProperties(id, pageBlock, schema)) || null