学习课程记录

This commit is contained in:
2025-11-17 16:35:18 +08:00
parent d2e554c715
commit ba0f14489e
6 changed files with 73 additions and 14 deletions

View File

@@ -484,8 +484,9 @@ function initVideoListeners() {
const videos = articleContent.querySelectorAll('video');
if (videos.length === 0) {
// 没有视频,默认阅读即完成
// 没有视频,默认阅读即完成不emit事件依赖父组件的滚动检测
hasVideoCompleted.value = true;
console.log(' 文章中没有视频,完成条件:滚动到底部');
return;
}