Commit 764f4243 by zeven

修复高版本Android百度语音不提示

parent 5f682251
......@@ -312,6 +312,12 @@ class FacePage extends Component {
};
smileFace = async () => {
const {orderDetailsModal, tipsModal} = this.state;
if (orderDetailsModal || tipsModal) {
return;
} // 出现订单弹窗,不做人脸识别
const tipText = '正在人脸识别,请看向屏幕,靠中间站稳';
Speech.speak(tipText);
await this.alipayinfo();
if (!this.alipayInfo || !this.alipayInfo.metaInfo) {
this.props.speak('刷脸支付启动失败,请重新刷脸或扫码支付', true);
......
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