处理已读未读样式优化;处理@功能新问题
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run

This commit is contained in:
wangyifeng 2025-04-21 09:52:59 +08:00
parent 3898c637b4
commit 66828a254c

View File

@ -547,6 +547,7 @@
:hideHeader="true"
:round="5"
:height="state.mentionSelectHeight"
:inContent="true"
>
<div
class="mention-select-drawer flex flex-row flex-1 flex-row flex-row-center-between"
@ -588,7 +589,7 @@
></tm-tabs>
<div class="msg-read-detail">
<ZPaging
ref="zPaging"
ref="zPagingReadDetails"
:show-scrollbar="false"
:fixed="false"
:height="state.readDetailHeight"
@ -1170,7 +1171,10 @@ const onEditorChange = () => {
if (ops[0].insert === '\n') {
ops.splice(0, 1)
if (ops.length > 0) {
getQuill().setContents(delta)
nextTick(() => {
getQuill().setContents(delta)
getQuill().setSelection(getQuill().getText().length, 0)
})
}
}
// for (let i = 0; i < ops.length; i++) {
@ -2070,7 +2074,7 @@ onMounted(async () => {
}
state.value.setMessageReadInterval = setInterval(() => {
checkVisibleElements()
}, 3000)
}, 2000)
if (state.value.setOutMessageReadInterval) {
clearInterval(state.value.setOutMessageReadInterval)
@ -2078,7 +2082,7 @@ onMounted(async () => {
}
state.value.setOutMessageReadInterval = setInterval(() => {
checkVisibleOutElements()
}, 3000)
}, 2000)
//
const options = {