微调
This commit is contained in:
tangly1024
2021-12-14 12:06:27 +08:00
parent 8148105b92
commit f1724dbe1a
5 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
import fs from 'fs'
import BLOG from '@/blog.config'
const path = require('path')
// 文件缓存持续10秒

View File

@@ -1,6 +1,9 @@
import { idToUuid } from 'notion-utils'
export default function getAllPageIds (collectionQuery, viewId) {
if (!collectionQuery) {
return []
}
const views = Object.values(collectionQuery)[0]
if (!views) {
return []