fix(使所有主题的404能够正常运转)

(cherry picked from commit 3e3b7667d043522a3d782b804815b8f1683127d1)
This commit is contained in:
anime
2024-11-08 00:14:09 +08:00
parent 47b8d97420
commit 3374068163
15 changed files with 42 additions and 40 deletions

View File

@@ -209,7 +209,7 @@ const LayoutSlug = props => {
{/* 文章锁 */}
{lock && <ArticleLock validPassword={validPassword} />}
{!lock && (
{!lock && post && (
<div>
{/* 文章信息 */}
<ArticleInfo {...props} />