From 3ac68c1fd96b9347d1568c4a24e26e0bd47659bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Fri, 28 Feb 2025 15:49:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=97=B6=E9=95=BF=E8=AE=A1=E7=AE=97=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/viewPost/tp-video.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/viewPost/tp-video.vue b/src/components/viewPost/tp-video.vue index a6b69b0b..54d7b8a4 100644 --- a/src/components/viewPost/tp-video.vue +++ b/src/components/viewPost/tp-video.vue @@ -21,7 +21,7 @@
mdi-clock-time-four-outline - {{ getVideoDuration(videoData.duration) }} + {{ getVideoDuration(videoData.duration * 1000) }}
@@ -53,6 +53,7 @@ onMounted(async () => { showSnackbar.error(`获取B站视频信息失败:${props.data.insert.video}`); return; } + console.log(`videoData ${props.data.insert.video}`, videoData.value); const meta = videoData.value.dimension; if (meta.width > meta.height) videoAspectRatio.value = meta.width / meta.height; else videoAspectRatio.value = meta.height / meta.width;