From 251fd9002f2485693be474bc0216cac62168815a Mon Sep 17 00:00:00 2001 From: Carrotzpc Date: Wed, 27 Dec 2023 13:43:40 +0800 Subject: [PATCH] :bug: fix: overwrite columns when footerConfig.moreProducts specify --- src/slots/Footer/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slots/Footer/index.tsx b/src/slots/Footer/index.tsx index 19bb1ac..71aa09a 100644 --- a/src/slots/Footer/index.tsx +++ b/src/slots/Footer/index.tsx @@ -25,7 +25,7 @@ const Footer = memo(() => { : getColumns({ github: githubUrl || (pkg as any).homepage }); if (footerConfig?.resources) columns[0] = footerConfig?.resources; - if (footerConfig?.resources) columns[0] = footerConfig?.resources; + if (footerConfig?.moreProducts) columns[3] = footerConfig?.moreProducts; const bottomFooter = footerConfig?.bottom || footer;