From 962a8843dcea0bb5f168275cc3481da9b67e15ac Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 9 Nov 2023 15:55:05 +0800 Subject: [PATCH] sth. --- lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.js b/lib/config.js index cd58187c..e2630825 100644 --- a/lib/config.js +++ b/lib/config.js @@ -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