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