Skip to content

Commit b2e3937

Browse files
committed
提示框多余
1 parent 2eb95b2 commit b2e3937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/[prefix]/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const Slug = props => {
9696
return (
9797
<>
9898
<Layout {...props} />
99-
{!lock && <Notification />}
99+
{post?.password && post?.password !== '' && !lock && <Notification />}
100100
</>
101101
)
102102
}

0 commit comments

Comments
 (0)