|
@@ -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";
|