Commit ba91d7d8e5e31f33216aa92c584988dee01a62d8

Authored by Min
1 parent c35c6612

1.处理人脸登录报错

src/components/FaceDetect/index.js
@@ -408,7 +408,7 @@ class FaceDetect extends Component { @@ -408,7 +408,7 @@ class FaceDetect extends Component {
408 408
409 render() { 409 render() {
410 const enable = ((this.props.enabled && this.user_id !== '' )|| this.props.actionType === 'identifyFace'); 410 const enable = ((this.props.enabled && this.user_id !== '' )|| this.props.actionType === 'identifyFace');
411 - const faceCollection = commonFunc.showMessage(this.props.app.commonConst, 'faceCollection') || '人脸采集';/* 人脸采集 */ 411 + const faceCollection = commonFunc.showLocalMessage(this.props, 'faceCollection', '人脸采集');
412 return ( 412 return (
413 <> 413 <>
414 <div className="face-recognition-container"> 414 <div className="face-recognition-container">