perf: 调整
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user