perf: 调整
This commit is contained in:
@ -100,7 +100,7 @@ export default {
|
|||||||
|
|
||||||
let showBtn = true;
|
let showBtn = true;
|
||||||
if (isLogin) {
|
if (isLogin) {
|
||||||
showBtn = commenter.id === userInfo.id;
|
showBtn = commenter?.id === userInfo.id;
|
||||||
} else {
|
} else {
|
||||||
showBtn = commenter_id === 1 ? false : !commenter;
|
showBtn = commenter_id === 1 ? false : !commenter;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user