【修复】mall 客服会话消息页面高度不一致导致的滚动功能精度失效

This commit is contained in:
puhui999
2024-07-10 18:09:04 +08:00
parent b6cd12a300
commit 79b6b87721
2 changed files with 29 additions and 13 deletions

View File

@ -75,7 +75,6 @@ watchEffect(() => {
}
})
// ======================= WebSocket end =======================
/** 加载会话列表 */
const keFuConversationRef = ref<InstanceType<typeof KeFuConversationList>>()
const getConversationList = () => {
@ -85,7 +84,7 @@ const getConversationList = () => {
/** 加载指定会话的消息列表 */
const keFuChatBoxRef = ref<InstanceType<typeof KeFuMessageList>>()
const handleChange = (conversation: KeFuConversationRespVO) => {
keFuChatBoxRef.value?.getMessageList(conversation)
keFuChatBoxRef.value?.getMessageList(conversation, true)
}
/** 初始化 */