Prechádzať zdrojové kódy

修改阶段,极简模式不是创建课程老师打开课程也会开启跟随模式权限

11wqe1 4 týždňov pred
rodič
commit
acc0781475

+ 6 - 6
src/components/easy3/studyStudent.vue

@@ -21930,12 +21930,12 @@ export default {
       hour12: false, 
       timeZone: "Asia/Shanghai" 
     }).replace(/\//g, "-")
-    if (this.tType == 1) {
-       // 开局关闭学生查看内容
-      this.StulookMode(false)
-      // 开局打开跟随模式
-      this.followingMode(true)
-    }
+    // if (this.tType == 1) {
+    //    // 开局关闭学生查看内容
+    //   this.StulookMode(false)
+    //   // 开局打开跟随模式
+    //   this.followingMode(true)
+    // }
     document.body.addEventListener("click", (e) => {
       if (this.isUpdateToolDetail1) {
         this.updateToolDetail(this.toolDetailIndex);

+ 7 - 6
src/components/studyStudent.vue

@@ -21862,12 +21862,13 @@ export default {
       hour12: false, 
       timeZone: "Asia/Shanghai" 
     }).replace(/\//g, "-");
-    if (this.tType == 1) {
-       // 开局关闭学生查看内容
-      this.StulookMode(false)
-      // 开局打开跟随模式
-      this.followingMode(true)
-    }
+
+    // if (this.tType == 1) {
+    //    // 开局关闭学生查看内容
+    //   this.StulookMode(false)
+    //   // 开局打开跟随模式
+    //   this.followingMode(true)
+    // }
     document.body.addEventListener("click", (e) => {
       if (this.isUpdateToolDetail1) {
         this.updateToolDetail(this.toolDetailIndex);