处理已读未读样式优化;处理@功能新问题
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"
|
:hideHeader="true"
|
||||||
:round="5"
|
:round="5"
|
||||||
:height="state.mentionSelectHeight"
|
:height="state.mentionSelectHeight"
|
||||||
|
:inContent="true"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="mention-select-drawer flex flex-row flex-1 flex-row flex-row-center-between"
|
class="mention-select-drawer flex flex-row flex-1 flex-row flex-row-center-between"
|
||||||
@ -588,7 +589,7 @@
|
|||||||
></tm-tabs>
|
></tm-tabs>
|
||||||
<div class="msg-read-detail">
|
<div class="msg-read-detail">
|
||||||
<ZPaging
|
<ZPaging
|
||||||
ref="zPaging"
|
ref="zPagingReadDetails"
|
||||||
:show-scrollbar="false"
|
:show-scrollbar="false"
|
||||||
:fixed="false"
|
:fixed="false"
|
||||||
:height="state.readDetailHeight"
|
:height="state.readDetailHeight"
|
||||||
@ -1170,7 +1171,10 @@ const onEditorChange = () => {
|
|||||||
if (ops[0].insert === '\n') {
|
if (ops[0].insert === '\n') {
|
||||||
ops.splice(0, 1)
|
ops.splice(0, 1)
|
||||||
if (ops.length > 0) {
|
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++) {
|
// for (let i = 0; i < ops.length; i++) {
|
||||||
@ -2070,7 +2074,7 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
state.value.setMessageReadInterval = setInterval(() => {
|
state.value.setMessageReadInterval = setInterval(() => {
|
||||||
checkVisibleElements()
|
checkVisibleElements()
|
||||||
}, 3000)
|
}, 2000)
|
||||||
|
|
||||||
if (state.value.setOutMessageReadInterval) {
|
if (state.value.setOutMessageReadInterval) {
|
||||||
clearInterval(state.value.setOutMessageReadInterval)
|
clearInterval(state.value.setOutMessageReadInterval)
|
||||||
@ -2078,7 +2082,7 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
state.value.setOutMessageReadInterval = setInterval(() => {
|
state.value.setOutMessageReadInterval = setInterval(() => {
|
||||||
checkVisibleOutElements()
|
checkVisibleOutElements()
|
||||||
}, 3000)
|
}, 2000)
|
||||||
|
|
||||||
//初始化设置观察者
|
//初始化设置观察者
|
||||||
const options = {
|
const options = {
|
||||||
|
Loading…
Reference in New Issue
Block a user