替换小优客服
This commit is contained in:
@ -152,7 +152,7 @@ class manager extends PureComponent {
|
||||
if(this.state.isCloseWs){
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isChatModalVisible: true})
|
||||
this.setState({isModalVisible: true})
|
||||
this.setState({isCloseWs: false})
|
||||
this.setState({isFlash :false})
|
||||
}
|
||||
|
@ -196,10 +196,11 @@ class supplier extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
console.log()
|
||||
if(this.state.isCloseWs){
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isChatModalVisible: true})
|
||||
this.setState({isModalVisible: true})
|
||||
this.setState({isCloseWs: false})
|
||||
this.setState({isFlash :false})
|
||||
}
|
||||
|
Reference in New Issue
Block a user