feat:科目三634参数添加
This commit is contained in:
parent
2fb7e0c069
commit
9364f0ae96
@ -1088,7 +1088,9 @@ export default class Judge {
|
|||||||
}
|
}
|
||||||
//语音播放扣分项
|
//语音播放扣分项
|
||||||
let score = 0;
|
let score = 0;
|
||||||
if (kfArr.length) {
|
//结束考试时候是否播报一遍所有扣分
|
||||||
|
const param634 = judgeConfigObj['634'];
|
||||||
|
if (kfArr.length && param634 == 1) {
|
||||||
avPlayer.playAudio([`voice/kfdesc.mp3`], false, () => {
|
avPlayer.playAudio([`voice/kfdesc.mp3`], false, () => {
|
||||||
try {
|
try {
|
||||||
kfArr.forEach((kf, index) => {
|
kfArr.forEach((kf, index) => {
|
||||||
@ -1114,7 +1116,6 @@ export default class Judge {
|
|||||||
console.info(judgeTag,JSON.stringify(e))
|
console.info(judgeTag,JSON.stringify(e))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
avPlayer.playAudio([voiceURL], true, () => {
|
avPlayer.playAudio([voiceURL], true, () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user