Skip to content

Commit

Permalink
add: 文章封面增加预览功能
Browse files Browse the repository at this point in the history
  • Loading branch information
Liusiyuan-git committed Jan 14, 2023
1 parent 46a576d commit 87046a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/article/article.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:uuid="authorUuid" :mode="'article'"
@collected="collected"></collections-choose>
<el-row class="main" v-show="!loading">
<el-image v-if="data.cover" fit="cover" class="cover" :src="data.cover"></el-image>
<el-image v-if="data.cover" fit="cover" class="cover" :src="data.cover" :preview-src-list="[data.cover]"></el-image>
<el-row class="header">
<el-row class="title-area" justify="space-between">
<el-row class="title" align="top">
Expand Down

0 comments on commit 87046a7

Please sign in to comment.