Skip to content

Commit

Permalink
Merge pull request #2447 from tangly1024/hotfix/page-lock
Browse files Browse the repository at this point in the history
提示框多余
  • Loading branch information
tangly1024 authored May 26, 2024
2 parents c58c526 + b2e3937 commit f0d7f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[prefix]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const Slug = props => {
return (
<>
<Layout {...props} />
{!lock && <Notification />}
{post?.password && post?.password !== '' && !lock && <Notification />}
</>
)
}
Expand Down

0 comments on commit f0d7f82

Please sign in to comment.