This commit is contained in:
shijing 2022-05-06 09:10:46 +08:00
parent df91dd18f4
commit 6e6fc0c0ac
1 changed files with 3 additions and 5 deletions

View File

@ -160,7 +160,7 @@
};
},
created() {
this.getUP();
// this.getUP();
localStorage.setItem('tolerance', '0.36');
},
watch: {
@ -217,9 +217,8 @@
//读取cookie
getUP() {
this.loginForm.username = localStorage.getItem("rem_username");
this.loginForm.password = localStorage.getItem("rem_password");
// this.loginForm.username = localStorage.getItem("rem_username");
// this.loginForm.password = localStorage.getItem("rem_password");
},
//人脸登录
takePhoto() {
@ -227,7 +226,6 @@
},
/*关闭相机*/
closeCamera() {
debugger;
this.reload();
this.$refs.faceTracking.closeCamera();
// this.thisVideo.srcObject.getTracks()[0].stop();