xiatian 5 years ago
parent
commit
4c5c74bfec
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/modules/marking/views/MarkSettingMain.vue

+ 1 - 2
src/modules/marking/views/MarkSettingMain.vue

@@ -308,14 +308,13 @@ export default {
   },
   methods: {
     openStepModel(row) {
-      this.stepForm.step = row.scoreStep;
+      this.stepForm.step = row.scoreStep || 0.5;
       this.stepForm.workId = row.workId;
       this.stepForm.courseCode = row.code;
       this.stepModel = true;
     },
     closeStepModel() {
       this.stepModel = false;
-      this.stepForm.step = null;
       this.stepModelKey = Math.random();
     },
     async subStep() {