mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 15:09:31 +00:00
支持INLINE_CONFIG
This commit is contained in:
@@ -29,7 +29,7 @@ export async function getGlobalData({
|
||||
locale
|
||||
}) {
|
||||
// 获取站点数据 , 如果pageId有逗号隔开则分次取数据
|
||||
const siteIds = pageId.split(',')
|
||||
const siteIds = pageId?.split(',') || []
|
||||
let data = EmptyData(pageId)
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user