|
@@ -301,7 +301,7 @@ let validateFreezeTime = (rule, value, callback) => {
|
|
|
_this.toActiveName = "tab2";
|
|
|
_this.activeName = "tab2";
|
|
|
}
|
|
|
- } else if (duration != "" && freezeTime > duration) {
|
|
|
+ } else if (duration != "" && parseInt(freezeTime) > parseInt(duration)) {
|
|
|
callback(new Error("交卷冻结时长不能大于考试时长"));
|
|
|
if (!_this.toActiveName) {
|
|
|
_this.toActiveName = "tab2";
|
|
@@ -482,4 +482,4 @@ export default {
|
|
|
.input {
|
|
|
width: 440px;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|