Commit 1d1a6693 by 修福龙

修复手机号码验证后闪退的问题

parent ecc91797
......@@ -289,7 +289,6 @@ class FacePage extends Component {
// device 代表当前打开的门
handleScaleChange = ({count}) => {
console.warn(count);
if (count === -1) {
// 重力感应开始识别
this.wechatFace();
......@@ -359,7 +358,6 @@ class FacePage extends Component {
const tipText = '正在人脸识别,请看向屏幕,靠中间站稳';
Speech.speak(tipText);
let auth = (await this.authinfo()) || {};
console.warn(auth);
if (
auth.return_code === 'SUCCESS' ||
(auth.code === 1 && auth.data.bizCode === '0000')
......@@ -376,7 +374,6 @@ class FacePage extends Component {
ask_unionid: 1,
};
let res = (await WxFacepay.faceinfo(params)) || {};
console.warn(res);
if (window.socket) {
window.socket.connect();
} // 返回结果,立即重新连接socket
......@@ -417,11 +414,11 @@ class FacePage extends Component {
// });
// };
talkCall = () => {
this.props.dispatch({
type: 'store/talkCall',
});
};
// talkCall = () => {
// this.props.dispatch({
// type: 'store/talkCall',
// });
// };
dropUp = () => {
let {current} = this.state;
......@@ -478,7 +475,7 @@ class FacePage extends Component {
maskClosable
onClose={this.handleOrderClose}
onRequestClose={this.handleOrderClose}
onCall={this.onCall}
// onCall={this.onCall}
dropUp={this.dropUp}
dropDown={this.dropDown}
goodsArr={goodsArr}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment