开机视频
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -38,8 +38,7 @@ | ... | @@ -38,8 +38,7 @@ |
| 38 | <el-table-column :label="$t('advertisement.tablePhotoName')" > | 38 | <el-table-column :label="$t('advertisement.tablePhotoName')" > |
| 39 | <template #default="{ row }"> | 39 | <template #default="{ row }"> |
| 40 | <!-- 判断是否为视频类型 --> | 40 | <!-- 判断是否为视频类型 --> |
| 41 | <component | 41 | <el-image |
| 42 | :is="isVideo(row.ossUrl) ? 'video' : 'el-image'" | ||
| 43 | :src="row.ossUrl" | 42 | :src="row.ossUrl" |
| 44 | style="width: 100px; height: 100px" | 43 | style="width: 100px; height: 100px" |
| 45 | v-if="!isVideo(row.ossUrl)" | 44 | v-if="!isVideo(row.ossUrl)" | ... | ... |
-
Please register or sign in to post a comment