Skip to content

Commit 4322007

Browse files
committed
🎨 用户本人主页不显示关注按钮
1 parent ee90f8f commit 4322007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/user/_id.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<span>{{ userInfo.selfDescription }}</span>
2323
</div>
2424
</div>
25-
<div class="user-block__action">
25+
<div class="user-block__action" v-if="$store.state.auth.userId != userInfo.uid">
2626
<follow-btn :is-follow.sync="isFollowed" type="user" :followee-id="userInfo.uid"></follow-btn>
2727
</div>
2828
</div>

0 commit comments

Comments
 (0)