From 1f4416e9b1ba877f6a6725b8c7ad260920f60bef Mon Sep 17 00:00:00 2001 From: joshen Date: Mon, 10 Mar 2025 10:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E5=8D=B0=E7=9A=84=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index ded8b84a..9725fbc4 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -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();//先关闭 @@ -1176,9 +1176,12 @@ "position:absolute;pointer-events: none; width: 100%;height: 100%;top:0;left:0;bottom: 0;right: 0; display: flex;justify-content: center;flex-wrap: wrap;overflow: hidden; opacity:0.3;padding-top:10px"; div.appendChild(div3); } else { + console.log("去除水印 ---- gx ----"); var markDiv = div.querySelector("#" + divId); + console.log("去除水印 ---- gx markDiv ----",markDiv); if (markDiv) { - div.removeChild(markDiv); + console.log("执行去除水印 ---- gx markDiv ----",markDiv); + div.removeChild(markDiv); } } },