diff --git a/themes/heo/index.js b/themes/heo/index.js index 98fa4b6d..a4d5eb00 100644 --- a/themes/heo/index.js +++ b/themes/heo/index.js @@ -58,7 +58,6 @@ const LayoutBase = props => { // 全屏模式下的最大宽度 const { fullWidth } = useGlobal() const router = useRouter() - console.log(router) const headerSlot = (
@@ -81,7 +80,7 @@ const LayoutBase = props => { ) // 右侧栏 用户信息+标签列表 - const slotRight = fullWidth ? null : + const slotRight = (router.route === '/404' || fullWidth) ? null : const maxWidth = fullWidth ? 'max-w-[96rem] mx-auto' : 'max-w-[86rem]' // 普通最大宽度是86rem和顶部菜单栏对齐,留空则与窗口对齐 @@ -349,26 +348,11 @@ const LayoutSlug = props => { * @returns */ const Layout404 = props => { - const { meta, siteInfo } = props + // const { meta, siteInfo } = props const { onLoading, fullWidth } = useGlobal() return ( -
- {/* 网页SEO */} - -