|
@@ -24,7 +24,7 @@
|
|
<div class="btn" @click="getAgain" v-if="examState == 42 || showTestAgain">再测一次</div>
|
|
<div class="btn" @click="getAgain" v-if="examState == 42 || showTestAgain">再测一次</div>
|
|
<div class="btn" @click="getOpenOneTestAndStartFace" v-if="examState < 41">开始识别</div>
|
|
<div class="btn" @click="getOpenOneTestAndStartFace" v-if="examState < 41">开始识别</div>
|
|
<div class="btn" @click="getStopFace" v-if="examState == 41">停止人脸识别</div>
|
|
<div class="btn" @click="getStopFace" v-if="examState == 41">停止人脸识别</div>
|
|
- <div class="btn startBtn" @click="getStartOneTest" v-if="examState == 43">开始测试</div>
|
|
|
|
|
|
+ <div class="btn startBtn" @click="getReady" v-if="examState == 43">开始测试</div>
|
|
<div class="btn" @click="getAllRetestFace" v-if="examState == 43 || examState == 42">重新识别</div>
|
|
<div class="btn" @click="getAllRetestFace" v-if="examState == 43 || examState == 42">重新识别</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
@@ -579,11 +579,7 @@ const initHand = () => {
|
|
}
|
|
}
|
|
//开始测试
|
|
//开始测试
|
|
if (examState.value == 43) {
|
|
if (examState.value == 43) {
|
|
- if (needStart.value) {
|
|
|
|
- getStartOneTest();
|
|
|
|
- } else {
|
|
|
|
- getReady()
|
|
|
|
- }
|
|
|
|
|
|
+ getReady()
|
|
}
|
|
}
|
|
//确认退出
|
|
//确认退出
|
|
if (exit.value) {
|
|
if (exit.value) {
|