处理已读未读样式优化;处理@功能新问题
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
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:
parent
3898c637b4
commit
66828a254c
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user