浏览代码

重复查询bug修改

zhangjie 4 年之前
父节点
当前提交
55fc662ef9
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 2 1
      src/modules/grading/components/GradeStep.vue
  2. 2 1
      src/modules/mark/components/MarkStep.vue

+ 2 - 1
src/modules/grading/components/GradeStep.vue

@@ -71,7 +71,8 @@ export default {
     };
   },
   mounted() {
-    this.selectStep(this.initStep);
+    // this.selectStep(this.initStep);
+    this.curStep = { ...this.initStep };
   },
   methods: {
     selectStep(step) {

+ 2 - 1
src/modules/mark/components/MarkStep.vue

@@ -69,7 +69,8 @@ export default {
     };
   },
   mounted() {
-    this.selectStep(this.initStep);
+    // this.selectStep(this.initStep);
+    this.curStep = { ...this.initStep };
   },
   methods: {
     selectStep(step) {