提示框多余

This commit is contained in:
tangly1024
2024-05-26 16:16:16 +08:00
parent 2eb95b2bf8
commit b2e3937b20

View File

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