支持INLINE_CONFIG

This commit is contained in:
tangly1024.com
2024-04-11 17:57:56 +08:00
parent b7d6485138
commit 69ff9ecb60
2 changed files with 67 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ export async function getGlobalData({
locale
}) {
// 获取站点数据 如果pageId有逗号隔开则分次取数据
const siteIds = pageId.split(',')
const siteIds = pageId?.split(',') || []
let data = EmptyData(pageId)
try {