perf: 点击聊天输入框窗口跳动

This commit is contained in:
kuaifan 2022-05-17 14:06:18 +08:00
parent f4502a5e9d
commit ca7cd2372a

View File

@ -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, {