manager/src/views/health/HealthVideoList.vue
@@ -112,6 +112,7 @@ <FormItem label="视频"> <video style="width: 150px;height: 150px" controls @loadedmetadata="getVideoDuration" :poster="uploadVideoForm.showCoverUrl" :autoplay="false" id="remoteVideo" :src="uploadVideoForm.showVideoUrl" @@ -671,6 +672,10 @@ this.auditingLoading = false }) }, getVideoDuration(e){ const duration = this.$refs.healthVideoInfo.duration; this.uploadVideoForm.videoDuration = Math.floor(duration); }, // 打开编辑弹窗 deleteHealthVideo(row) { console.log('删除测试', row)