diff --git a/src/components/FaceDetect/index.js b/src/components/FaceDetect/index.js index d66842c..8e10990 100644 --- a/src/components/FaceDetect/index.js +++ b/src/components/FaceDetect/index.js @@ -408,7 +408,7 @@ class FaceDetect extends Component { render() { const enable = ((this.props.enabled && this.user_id !== '' )|| this.props.actionType === 'identifyFace'); - const faceCollection = commonFunc.showMessage(this.props.app.commonConst, 'faceCollection') || '人脸采集';/* 人脸采集 */ + const faceCollection = commonFunc.showLocalMessage(this.props, 'faceCollection', '人脸采集'); return ( <>