🐛 文章编辑按钮无法正常显示问题修复
This commit is contained in:
parent
ea39012de1
commit
adbdeecebc
@ -42,9 +42,11 @@
|
|||||||
# {{ tag.tagTitle }}
|
# {{ tag.tagTitle }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<client-only>
|
||||||
<el-col v-if="user" :span="12" style="text-align: right;">
|
<el-col v-if="user" :span="12" style="text-align: right;">
|
||||||
<template v-if="user.idUser !== article.articleAuthorId">
|
<template v-if="user.idUser !== article.articleAuthorId">
|
||||||
<el-button size="mini" v-if="isFollower(article.articleAuthorId)" @click="cancelFollowUser(article.articleAuthorId)" plain>
|
<el-button size="mini" v-if="isFollower(article.articleAuthorId)"
|
||||||
|
@click="cancelFollowUser(article.articleAuthorId)" plain>
|
||||||
取消关注
|
取消关注
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="mini" v-else @click="followUser(article.articleAuthorId)" plain>关注</el-button>
|
<el-button size="mini" v-else @click="followUser(article.articleAuthorId)" plain>关注</el-button>
|
||||||
@ -64,6 +66,7 @@
|
|||||||
<el-button size="mini" @click="gotoLogin" plain>关注</el-button>
|
<el-button size="mini" @click="gotoLogin" plain>关注</el-button>
|
||||||
<el-button size="mini" @click="handleCommand('share')" plain>分享</el-button>
|
<el-button size="mini" @click="handleCommand('share')" plain>分享</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
</client-only>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col v-if="isShare" style="margin-bottom: 1rem;">
|
<el-col v-if="isShare" style="margin-bottom: 1rem;">
|
||||||
<share-box :url="shareData.shareUrl"></share-box>
|
<share-box :url="shareData.shareUrl"></share-box>
|
||||||
|
Loading…
Reference in New Issue
Block a user