Merge branch '250220-pre-126-177-gx' into test20250220

This commit is contained in:
joshen
2025-03-10 14:17:46 +08:00
2 changed files with 10 additions and 1 deletions

View File

@@ -384,6 +384,15 @@ export default {
this.videoDom.addEventListener('error', function(){
console.log('\x1b[31m%s\x1b[0m','*****************加载失败**********')
})
this.videoDom.addEventListener('keydown', function(e){
//console.log('\x1b[31m%s\x1b[0m','*****************加载失败**********')
console.log("video is exit");
if(e.key === "Escape"){
console.log("按键 退出全屏 执行")
}
})
// 监听全屏事件的变化,保存数据
window.addEventListener("F", () => {
this.isFullscreen = this.isFullScreen();

View File

@@ -461,7 +461,7 @@
let localKey = "user_" + this.userInfo.sysId + "_gids";
let hasIds = sessionStorage.getItem(localKey);
this.audiences = hasIds ?? ''
this.$watermark.set(this.userInfo.name + this.userInfo.loginName);
// this.$watermark.set(this.userInfo.name + this.userInfo.loginName);
this.courseId = this.$route.query.id;
this.initContentId = this.$route.query.contentId;
this.stopStudyTime();//先关闭