Browse Source

修改word无法显示问题

zengyicheng 2 years ago
parent
commit
7d8db464df
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/components/study.vue

+ 4 - 4
src/components/study.vue

@@ -248,7 +248,7 @@
                     </div>
                     <div
                       class="wheel"
-                      v-if="showType == 2"
+                      v-if="showType[jdIndex][rwIndex] == 2"
                       style="height: 520px; width: 90%; margin: 0 0 20px 30px"
                     >
                       <iframe
@@ -258,7 +258,7 @@
                     </div>
                     <div
                       class="wheel"
-                      v-if="showType == 3"
+                      v-if="showType[jdIndex][rwIndex] == 3"
                       style="height: 520px; width: 90%; margin: 0 0 20px 30px"
                     >
                       <pdf
@@ -268,7 +268,7 @@
                     </div>
                     <div
                       class="wheel"
-                      v-if="showType == 4"
+                      v-if="showType[jdIndex][rwIndex] == 4"
                       style="
                         height: 520px;
                         width: 90%;
@@ -2790,7 +2790,7 @@ export default {
       window.parent.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
-      this.showType = 0;
+      // this.showType = 0;
       var b = this.chapInfoList.length - 1;
       if (t == 0) {
         if (this.courseType == 0) {