From b2e3937b20ccd80d6d8f32f2f18c51153a6e95eb Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 26 May 2024 16:16:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86=E5=A4=9A=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/[prefix]/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/[prefix]/index.js b/pages/[prefix]/index.js index d9853a5b..f5b5d2d1 100644 --- a/pages/[prefix]/index.js +++ b/pages/[prefix]/index.js @@ -96,7 +96,7 @@ const Slug = props => { return ( <> - {!lock && } + {post?.password && post?.password !== '' && !lock && } ) }