客服增加历史记录、路由跳转
This commit is contained in:
@ -117,7 +117,7 @@ class Jury extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
@ -134,7 +134,7 @@ class manager extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
@ -156,7 +156,7 @@ class manager extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
@ -67,7 +67,7 @@ class manager extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
@ -66,7 +66,7 @@ class manager extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
@ -162,7 +162,7 @@ class manager extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isChatModalVisible: true})
|
||||
|
@ -152,7 +152,7 @@ class manager extends PureComponent {
|
||||
};
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
@ -199,8 +199,7 @@ class supplier extends PureComponent {
|
||||
}
|
||||
initChatUI = () => {
|
||||
//智慧客服
|
||||
console.log()
|
||||
if(this.state.isCloseWs){
|
||||
if(this.state.isCloseWs && window.isCloseChatUIModal==undefined){ //弹窗主动关闭或者页面刷新
|
||||
this.setState({optionsModal: true})
|
||||
}else{
|
||||
this.setState({isModalVisible: true})
|
||||
|
Reference in New Issue
Block a user