|
@@ -116,7 +116,7 @@
|
|
</div>
|
|
</div>
|
|
<FaceWindow ref="faceWindowRef" :faceCheckStu="faceCheckStu" :gesture="parameter.gesture" />
|
|
<FaceWindow ref="faceWindowRef" :faceCheckStu="faceCheckStu" :gesture="parameter.gesture" />
|
|
<ChooseStudent ref="chooseStudentRef" @returnData="returnStudent" />
|
|
<ChooseStudent ref="chooseStudentRef" @returnData="returnStudent" />
|
|
- <JumpRopeGame ref="gameContainer" v-if="!readyState || [42].includes(examState)" />
|
|
|
|
|
|
+ <JumpRopeGame ref="gameContainer" v-if="['jumprope'].includes(parameter.project) && (!readyState || [42].includes(examState))" />
|
|
<div class="close" @click="confirmExit"></div>
|
|
<div class="close" @click="confirmExit"></div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -1015,7 +1015,7 @@ watch(
|
|
watch(
|
|
watch(
|
|
() => currentResultObj.value.count,
|
|
() => currentResultObj.value.count,
|
|
(newData) => {
|
|
(newData) => {
|
|
- if (newData > 0) {
|
|
|
|
|
|
+ if (newData > 0 && ['jumprope'].includes(parameter.value.project)) {
|
|
let frameRate = 12;
|
|
let frameRate = 12;
|
|
gameContainer.value.sports(frameRate);
|
|
gameContainer.value.sports(frameRate);
|
|
}
|
|
}
|