perf: 调整

This commit is contained in:
rd
2025-08-08 17:19:02 +08:00
parent 34f8d01c1f
commit 7ad6fcf16f

View File

@ -100,7 +100,7 @@ export default {
let showBtn = true;
if (isLogin) {
showBtn = commenter.id === userInfo.id;
showBtn = commenter?.id === userInfo.id;
} else {
showBtn = commenter_id === 1 ? false : !commenter;
}