|
@@ -561,6 +561,9 @@ const returnStudent = (data: any) => {
|
|
* 处理短跑返回被选学生
|
|
* 处理短跑返回被选学生
|
|
*/
|
|
*/
|
|
const sprintStudent = (data: any) => {
|
|
const sprintStudent = (data: any) => {
|
|
|
|
+ if (data == undefined || !data) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
suspendFaceRecognitionChannels(currentTrack.value);//停止识别
|
|
suspendFaceRecognitionChannels(currentTrack.value);//停止识别
|
|
let obj = {
|
|
let obj = {
|
|
result_id: resultId.value,
|
|
result_id: resultId.value,
|
|
@@ -615,6 +618,9 @@ const longStudent = (data: any) => {
|
|
* 重新识别指定跑道
|
|
* 重新识别指定跑道
|
|
*/
|
|
*/
|
|
const getRetestTrackFace = (data: any) => {
|
|
const getRetestTrackFace = (data: any) => {
|
|
|
|
+ if (data == undefined || !data) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
resumeFaceRecognitionChannels(data);//重新识别
|
|
resumeFaceRecognitionChannels(data);//重新识别
|
|
let obj = {
|
|
let obj = {
|
|
student_id: null,
|
|
student_id: null,
|