Skip to content

Commit

Permalink
fix:站点图标为空时不生成img tag #877
Browse files Browse the repository at this point in the history
  • Loading branch information
fzlins committed Dec 8, 2022
1 parent 7644c0c commit 3284756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/views/UserDataTimeline.vue
Expand Up @@ -64,7 +64,7 @@
<v-timeline-item v-for="(site, i) in datas" :key="i" color="transparent" large>
<template v-slot:icon>
<v-avatar size="38">
<img :src="site.icon" :class="{'icon-blur': blurSiteIcon}"/>
<img v-if="site.icon" :src="site.icon" :class="{'icon-blur': blurSiteIcon}"/>
</v-avatar>
</template>
<template v-slot:opposite>
Expand Down

0 comments on commit 3284756

Please sign in to comment.