mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-13 01:28:11 +00:00
perf: 点击聊天输入框窗口跳动
This commit is contained in:
parent
f4502a5e9d
commit
ca7cd2372a
@ -430,7 +430,7 @@ export default {
|
||||
|
||||
scrollIntoActive() {
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.list) {
|
||||
if (this.$isDesktop && this.$refs.list) {
|
||||
let active = this.$refs.list.querySelector(".active")
|
||||
if (active) {
|
||||
$A.scrollToView(active, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user