This commit is contained in:
yanran200730
2023-04-20 11:48:49 +08:00
parent d1fa008407
commit c0a513a1a7
2 changed files with 9 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
<ai-info-item label="事件附件" isLine>
<div class="files">
<div class="file-item" v-for="(item, index) in info.files" :key="index">
<img :src="item.url" v-viewer="{movable: true}" v-if="item.postfix !== '.mp4'">
<img :src="item.url" v-viewer="{movable: true}" v-if="['.mp4', '.mov'].includes(item.postfix) !== '.mp4'">
<video controls v-else :src="item.url"></video>
</div>
</div>