二维码文字相关

This commit is contained in:
tangly1024.com
2024-05-07 17:31:11 +08:00
parent 2ed166405a
commit 6c3316873f
2 changed files with 9 additions and 6 deletions

View File

@@ -55,9 +55,6 @@ export const siteConfig = (key, defaultVal = null, extendConfig = null) => {
if (!val && extendConfig) {
val = extendConfig[key]
}
if (extendConfig) {
console.log('extendConfig', extendConfig[key])
}
// 其次 NOTION没有找到配置则会读取blog.config.js文件
if (!val) {

View File

@@ -149,9 +149,15 @@ const Footer = props => {
)}></img>
</div>
<div className='space-y-4'>
<div className='flex space-x-4 text-center'>
{siteConfig('COMMERCE_FOOTER_RIGHT_TEXT', null, CONFIG)}
</div>
<div
className='flex space-x-4 text-center'
dangerouslySetInnerHTML={{
__html: siteConfig(
'COMMERCE_FOOTER_RIGHT_TEXT',
null,
CONFIG
)
}}></div>
</div>
</div>
}