修复[jeecgboot-vue3/issues/I5UMML] chatRef无此引用

pull/170/head^2
zhangdaiscott 2022-10-09 15:17:08 +08:00
parent d6130b685d
commit e036565709
1 changed files with 0 additions and 10 deletions

View File

@ -57,7 +57,6 @@
}
return count;
});
const chatRef = ref();
const [registerMessageModal, { openModal: openMessageModal }] = useModal();
function clickBadge(){
@ -96,7 +95,6 @@
//update-begin-author:taoyan date:2022-8-30 for: chat
let msgCount = anntMsgTotal+sysMsgTotal;
//update-begin-author:wangshuai date:2022-09-02 for: 0
chatRef.value.updateMessageCount(msgCount);
messageCount.value = msgCount
//update-end-author:wangshuai date:2022-09-02 for: 0
//update-end-author:taoyan date:2022-8-30 for: chat
@ -164,12 +162,6 @@
}
}
/**
* 获取消息未读数
*/
function getSystemUnreadNum() {
chatRef.value.updateMessageCount(messageCount.value);
}
return {
prefixCls,
@ -184,8 +176,6 @@
popoverVisible,
registerDetail,
dynamicNoticeProps,
chatRef,
getSystemUnreadNum
};
},
});