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;