Merge pull request #2447 from tangly1024/hotfix/page-lock

提示框多余
This commit is contained in:
tangly1024
2024-05-26 16:20:19 +08:00
committed by GitHub

View File

@@ -96,7 +96,7 @@ const Slug = props => {
return (
<>
<Layout {...props} />
{!lock && <Notification />}
{post?.password && post?.password !== '' && !lock && <Notification />}
</>
)
}