From d11f94ca0610417a7c6fc634925e85e28972224c Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 24 六月 2025 14:16:34 +0800
Subject: [PATCH] 新闻管理
---
manager/src/views/health/HealthVideoList.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/manager/src/views/health/HealthVideoList.vue b/manager/src/views/health/HealthVideoList.vue
index 9c87653..43ef70c 100644
--- a/manager/src/views/health/HealthVideoList.vue
+++ b/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)
--
Gitblit v1.8.0