Commit ba91d7d8e5e31f33216aa92c584988dee01a62d8
1 parent
c35c6612
1.处理人脸登录报错
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/FaceDetect/index.js
| ... | ... | @@ -408,7 +408,7 @@ class FaceDetect extends Component { |
| 408 | 408 | |
| 409 | 409 | render() { |
| 410 | 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 | 412 | return ( |
| 413 | 413 | <> |
| 414 | 414 | <div className="face-recognition-container"> | ... | ... |