浏览代码

submit按钮显示

natasha 2 年之前
父节点
当前提交
86f7ce61dc
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/components/Adult/Preview.vue
  2. 1 1
      src/views/courseView.vue

+ 1 - 1
src/components/Adult/Preview.vue

@@ -1394,7 +1394,7 @@ export default {
         }
         }
       });
       });
       this.visiblePreviewDialog = true;
       this.visiblePreviewDialog = true;
-      this.submitUserAnswerNPC();
+    //   this.submitUserAnswerNPC();
     },
     },
   }, // 如果页面有keep-alive缓存功能,这个函数会触发
   }, // 如果页面有keep-alive缓存功能,这个函数会触发
 };
 };

+ 1 - 1
src/views/courseView.vue

@@ -123,7 +123,7 @@ export default {
   created() {
   created() {
     const _this = this;
     const _this = this;
     _this.bookId = this.$route.query.bookId;
     _this.bookId = this.$route.query.bookId;
-    // _this.isAnswerItemShow = true;
+    _this.isAnswerItemShow = true;
     // if (localStorage.getItem("Bookanswer")) {
     // if (localStorage.getItem("Bookanswer")) {
     //   this.TaskModel = "ANSWER";
     //   this.TaskModel = "ANSWER";
     // }
     // }