This commit is contained in:
tangly1024.com
2023-11-09 15:55:05 +08:00
parent d24d4d9f0a
commit 962a8843dc

View File

@@ -14,7 +14,7 @@ import { deepClone } from './utils'
* @param {*} extendConfig ; 参考配置对象{key:val}如果notion中找不到优先尝试在这里面查找
* @returns
*/
export const siteConfig = (key, defaultVal = null, extendConfig) => {
export const siteConfig = (key, defaultVal = null, extendConfig = null) => {
let global = null
try {
// eslint-disable-next-line react-hooks/rules-of-hooks