mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Update getNotionConfig.js
This commit is contained in:
@@ -123,7 +123,7 @@ export async function getConfigMapFromConfigPage(allPages) {
|
||||
if (properties) {
|
||||
// 将表格中的字段映射成 英文
|
||||
const config = {
|
||||
enable: properties['启用'] || properties.Enable === 'Yes',
|
||||
enable: (properties['启用'] || properties.Enable) === 'Yes',
|
||||
key: properties['配置名'] || properties.Name,
|
||||
value: properties['配置值'] || properties.Value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user