lsc 2 years ago
parent
commit
026e07dc95
1 changed files with 0 additions and 13 deletions
  1. 0 13
      src/components/studyStudent.vue

+ 0 - 13
src/components/studyStudent.vue

@@ -2446,7 +2446,6 @@ export default {
       isAnswer: false,
       timer: null,
       showType: 0,
-      pdfShow: false,
       fileType: 0,
       showPDF: false,
       noteName: "",
@@ -3308,10 +3307,6 @@ export default {
                   ) {
                     this.showType = 3;
                     this.pptImgUrl1 = _url;
-                    this.pdfShow = false;
-                    setTimeout(() => {
-                      this.pdfShow = true;
-                    }, 0);
                   } else if (
                     this.isAssetTypeAnImage(
                       _url
@@ -3369,10 +3364,6 @@ export default {
                       ) {
                         this.showType = 3;
                         this.pptImgUrl1 = _url;
-                        this.pdfShow = false;
-                        setTimeout(() => {
-                          this.pdfShow = true;
-                        }, 0);
                       } else if (
                         this.isAssetTypeAnImage(
                           _url
@@ -3575,10 +3566,6 @@ export default {
         this.pptImgUrl1 = f.url;
         // this.dialogVisible3 = true;
         this.showType = 3;
-        this.pdfShow = false;
-        setTimeout(() => {
-          this.pdfShow = true;
-        }, 0);
       } else {
         window.open(this.file[i].url);
       }