仲裁规则配置问题修复
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
59fe18fe34
commit
0baa90d86f
|
@ -617,7 +617,7 @@ export default {
|
|||
});
|
||||
},
|
||||
applySync(ReadingQuestionTrialId, index) {
|
||||
return new Promise((resolve, reject) => {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
console.log(this.QuestionList[index].JudgeType);
|
||||
if (this.QuestionList[index].JudgeType === 0) {
|
||||
reject(false);
|
||||
|
@ -637,6 +637,21 @@ export default {
|
|||
reject(false);
|
||||
return;
|
||||
}
|
||||
if (
|
||||
this.QuestionList[index].JudgeType === 4 ||
|
||||
this.QuestionList[index].JudgeType === 5
|
||||
) {
|
||||
try {
|
||||
let validate = await this.$refs[
|
||||
"JudgeDifferenceValue" +
|
||||
this.QuestionList[index].JudgeType +
|
||||
index
|
||||
][0].validate();
|
||||
if (!validate) return reject(false);
|
||||
} catch (err) {
|
||||
return reject(false);
|
||||
}
|
||||
}
|
||||
this.btnLoading = true;
|
||||
this.loading = true;
|
||||
setTrialCriterionJudgeQuestionAnswerGroup({
|
||||
|
|
Loading…
Reference in New Issue