mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2026-05-19 05:37:56 +00:00
变量名优化
This commit is contained in:
@@ -678,8 +678,8 @@ const onOpenSession = async ({ msgType, objectInfo }) => {
|
||||
*/
|
||||
watch(
|
||||
() => msgRecords.value,
|
||||
(oldValue) => {
|
||||
if (!oldValue || selectedSession.value.unreadCount === 0) return
|
||||
(newValue) => {
|
||||
if (!newValue || selectedSession.value.unreadCount === 0) return
|
||||
nextTick(() => {
|
||||
const unreadMsgEls = document.querySelectorAll('.unreadMsg')
|
||||
if (unreadMsgEls.length === 0) return
|
||||
|
||||
Reference in New Issue
Block a user