WANG 6 years ago
parent
commit
07cdf5d4e6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/modules/examwork/view/onlineExam.vue

+ 3 - 3
src/modules/examwork/view/onlineExam.vue

@@ -734,7 +734,7 @@ let validateFaceVerifyStartMinute = (rule, value, callback) => {
         _this.toActiveName = "tab4";
         _this.activeName = "tab4";
       }
-    } else if (freezeTime != "" && parseInt(v) > parseInt(freezeTime)) {
+    } else if (freezeTime !== "" && parseInt(v) > parseInt(freezeTime)) {
       callback(new Error("活体检测开始分钟数不能大于交卷冻结时长"));
       if (!_this.toActiveName) {
         _this.toActiveName = "tab4";
@@ -766,13 +766,13 @@ let validateFaceVerifyEndMinute = (rule, value, callback) => {
         _this.toActiveName = "tab4";
         _this.activeName = "tab4";
       }
-    } else if (start != "" && parseInt(v) < parseInt(start)) {
+    } else if (start !== "" && parseInt(v) < parseInt(start)) {
       callback(new Error("活体检测结束分钟数不能小于活体检测开始分钟数"));
       if (!_this.toActiveName) {
         _this.toActiveName = "tab4";
         _this.activeName = "tab4";
       }
-    } else if (freezeTime != "" && parseInt(v) > parseInt(freezeTime)) {
+    } else if (freezeTime !== "" && parseInt(v) > parseInt(freezeTime)) {
       callback(new Error("活体检测结束分钟数不能大于交卷冻结时长"));
       if (!_this.toActiveName) {
         _this.toActiveName = "tab4";