浏览代码

提交题库run lint

weiwenhai 6 年之前
父节点
当前提交
f3af3b7742
共有 2 个文件被更改,包括 7 次插入8 次删除
  1. 1 3
      src/modules/questions/views/CourseProperty.vue
  2. 6 5
      src/modules/questions/views/EditPaper.vue

+ 1 - 3
src/modules/questions/views/CourseProperty.vue

@@ -483,7 +483,6 @@ export default {
     },
     //页面回填值
     initValue() {
-      var pageNo = "";
       this.isClear = this.$route.params.isClear;
       if (this.isClear == 0 || !this.isClear) {
         this.removeItem();
@@ -506,8 +505,7 @@ export default {
             : parseInt(sessionStorage.getItem("course_property_currentPage"));
       }
       this.getOneCourse(this.formSearch.courseId);
-      var pageNo = Number(this.currentPage);
-      this.handleCurrentChange(pageNo);
+      this.handleCurrentChange(this.currentPage);
     },
     //查询单个课程
     getOneCourse(courseId) {

+ 6 - 5
src/modules/questions/views/EditPaper.vue

@@ -622,11 +622,12 @@
             <el-col :xs="10" :sm="10" :md="10" :lg="10">
               <el-form-item label="考试说明">
                 <div style="width:550px;">
-                  <ckeditor 
-                  :display="display"
-                  :width="wValue"
-                  :height="hValue"
-                  v-model="examRemark"></ckeditor>
+                  <ckeditor
+                    :display="display"
+                    :width="wValue"
+                    :height="hValue"
+                    v-model="examRemark"
+                  ></ckeditor>
                 </div>
               </el-form-item>
             </el-col>