This commit is contained in:
tangly1024.com
2023-11-02 17:06:41 +08:00
parent 0f1f415782
commit ce68786c00
2 changed files with 2 additions and 2 deletions

View File

@@ -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 => {

View File

@@ -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