解决未登录时,客服图标会闪烁
This commit is contained in:
parent
3858c885b6
commit
bc7b5c9e80
|
@ -349,7 +349,7 @@
|
|||
let keFuLastMsgCount = this.$queue.getData('keFuLastMsgCount');
|
||||
let keFuNewMsgCount = this.$queue.getData('keFuNewMsgCount');
|
||||
if (keFuLastMsgCount == undefined) {
|
||||
if (keFuNewMsgCount != 0) this.haveNewMsg = true
|
||||
if (keFuNewMsgCount != 0 && keFuNewMsgCount != undefined) this.haveNewMsg = true
|
||||
} else {
|
||||
if (keFuNewMsgCount != undefined && keFuNewMsgCount > keFuLastMsgCount) this.haveNewMsg = true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue