mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
perf: 优化移动端选中消息文本
This commit is contained in:
parent
b482947207
commit
27ae831799
@ -2915,7 +2915,7 @@ export default {
|
||||
|
||||
onThrottleScroll: throttle(function (target) {
|
||||
if (this.operatePreventScroll === 0 && this.operateVisible) {
|
||||
this.operateVisible = !!this.getSelectedTextInElement(target)
|
||||
this.operateVisible = !!this.getSelectedTextInElement(target) && target?.querySelector(`[unique="${this.operateItem.id}"]`)?.classList.contains('item-enter')
|
||||
}
|
||||
}, 100),
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user