修复缩略图预览;优化下载链接;(同步更新)
This commit is contained in:
@@ -40,13 +40,13 @@
|
||||
<el-button @click="isViewingTag = true">查看标签</el-button>
|
||||
<hr>
|
||||
<el-button v-if="isLion" @click="resetUndone">重置任务</el-button>
|
||||
<div v-show="'images' in thumbnailGallery">
|
||||
<div v-show="thumbnailGallery.url !== undefined">
|
||||
<span>
|
||||
{{thumbnailGallery.shortName}}<br>
|
||||
<el-space v-show="thumbnailGallery.tag !== ''">标签:{{thumbnailGallery.tag}}</el-space>
|
||||
</span><br>
|
||||
<picture>
|
||||
<el-image :src="thumbnailGallery.url" :preview-src-list="thumbnailGallery.images" :initial-index="0" class="preview"
|
||||
<el-image :src="thumbnailGallery.url" :preview-src-list="[thumbnailGallery.images[0], ]" :initial-index="0" class="preview"
|
||||
style="width: 300px; height: 300px" fit="contain"/>
|
||||
</picture>
|
||||
</div>
|
||||
@@ -232,6 +232,8 @@ let tags = computed(() => {
|
||||
})
|
||||
|
||||
let thumbnailGallery = computed(() => {
|
||||
if(store.state.thumbnailGallery.images === undefined)
|
||||
store.state.thumbnailGallery.images = []
|
||||
return store.state.thumbnailGallery
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user