From 8c03902a415256e14c9039dcfc6e49982a709ee8 Mon Sep 17 00:00:00 2001 From: Mr.Zhang <710666463@qq.com> Date: 星期三, 13 九月 2023 17:07:31 +0800 Subject: [PATCH] 小程序 --- web_standard/src/components/common/ShowImage.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/web_standard/src/components/common/ShowImage.vue b/web_standard/src/components/common/ShowImage.vue index 16bd180..e1db855 100644 --- a/web_standard/src/components/common/ShowImage.vue +++ b/web_standard/src/components/common/ShowImage.vue @@ -12,6 +12,7 @@ @change="onSlideChange" > <el-carousel-item v-for="(item, i) in multiFilesList" :key="i"> + {{ resourcePath + item.fileurl }} <img v-if="item.type === 0" :src="resourcePath + item.fileurl" alt="" /> <video ref="video" v-else-if="item.type === 1" :src="resourcePath + item.fileurl" controls="controls"></video> </el-carousel-item> @@ -47,6 +48,7 @@ this.multiFilesList = multiFilesList this.temp = multiFilesList[index] this.resourcePath = resourcePath + console.log(this.resourcePath); this.index = index }, cancel () { -- Gitblit v1.9.3