FB Messenger

This commit is contained in:
tangly1024.com
2023-08-01 17:53:15 +08:00
parent 8b976cecb8
commit 0b477b18d1

View File

@@ -23,6 +23,9 @@ class MessengerCustomerChat extends Component {
}
}
/**
* 初始化
*/
componentDidMount() {
this.setFbAsyncInit()
this.reloadSDKAsynchronously()
@@ -56,6 +59,9 @@ class MessengerCustomerChat extends Component {
}
}
/**
* 初始化
*/
setFbAsyncInit() {
const { appId, autoLogAppEvents, xfbml, version } = this.props