fix(footer): fixed footer may be null or undefined……

This commit is contained in:
Flc゛ 2023-01-17 09:18:02 +08:00
parent f0c01a615b
commit df99616134
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ module.exports = cacheComponent(Footer, 'common.footer', props => {
siteYear: date(new Date(), 'YYYY'),
author,
links,
copyright: footer.copyright,
copyright: footer?.copyright ?? '',
showVisitorCounter: plugins && plugins.busuanzi === true,
visitorCounterTitle: _p('plugin.visitor_count', '<span id="busuanzi_value_site_uv">0</span>')
};