代码缓存逻辑调整

This commit is contained in:
tangly1024.com
2024-11-13 10:50:17 +08:00
parent 4798b5b422
commit eed08777d1
5 changed files with 327 additions and 333 deletions

View File

@@ -157,7 +157,8 @@ export async function getConfigMapFromConfigPage(allPages) {
// 只导入生效的配置
if (config.enable) {
// console.log('[Notion配置]', config.key, config.value)
notionConfig[config.key] = config.value
notionConfig[config.key] = config.value || ''
// 配置不能是undefined至少是空字符串
}
}
}