mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
log
This commit is contained in:
@@ -45,7 +45,7 @@ const ThemeSwitch = () => {
|
||||
|
||||
{/* 翻译按钮 */}
|
||||
<div className="text-sm flex items-center group-hover:w-32 transition-all duration-200">
|
||||
<i class="fa-solid fa-language w-5" />
|
||||
<i className="fa-solid fa-language w-5" />
|
||||
<div className='w-0 group-hover:w-24 transition-all duration-200 overflow-hidden'>
|
||||
<select value={lang} onChange={onLangSelectChange} name="themes" className='pl-1 bg-gray-50 dark:bg-black appearance-none outline-none dark:text-white uppercase cursor-pointer'>
|
||||
{Object.keys(LANGS)?.map(t => {
|
||||
|
||||
@@ -34,7 +34,7 @@ export async function getConfigMapFromConfigPage(allPages) {
|
||||
}
|
||||
const configPageId = configPage.id
|
||||
|
||||
console.log('[Notion配置]请求配置数据 ', configPage.id)
|
||||
// console.log('[Notion配置]请求配置数据 ', configPage.id)
|
||||
const pageRecordMap = await getPostBlocks(configPageId, 'config-table')
|
||||
// console.log('配置中心Page', configPageId, pageRecordMap)
|
||||
const content = pageRecordMap.block[configPageId].value.content
|
||||
|
||||
Reference in New Issue
Block a user