Explorar el Código

场次bug fix

lideyin hace 4 años
padre
commit
b7a2707076
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/modules/examwork/view/stageSpecialSettings.vue

+ 2 - 2
src/modules/examwork/view/stageSpecialSettings.vue

@@ -969,8 +969,8 @@ export default {
         }
 
         if (
-          this.addStageForm.addTimeRangeArr2.some(p =>
-            p.timeRange.some(t => t == "")
+          this.addStageForm.addTimeRangeArr2.some(
+            p => p.timeRange == null || p.timeRange.some(t => t == "")
           )
         ) {
           this.$notify({