|
@@ -147,7 +147,11 @@ export default {
|
|
|
]);
|
|
|
var receivedMsg = response.data;
|
|
|
shouldTimeout = false;
|
|
|
- return this.faceTestEnd(receivedMsg);
|
|
|
+ this.faceTestEnd(receivedMsg);
|
|
|
+ clearTimeout(this.faceIdTimeout);
|
|
|
+ clearInterval(this.timeCountInterval);
|
|
|
+ this.$emit("closeFaceId");
|
|
|
+ this.closeWS();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
shouldTimeout = true;
|