From 634c879108175aa044ac171a17b7c745d078b6e3 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Thu, 23 Mar 2023 20:51:20 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=87=AA=E5=8A=A8=E7=84=A6=E7=82=B9?= =?UTF-8?q?=E6=97=B6=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=B8=8A=E7=9A=84=E4=B8=8D?= =?UTF-8?q?=E4=BE=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/chat/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 2984f62..c37466a 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -454,7 +454,7 @@ const footerClass = computed(() => { onMounted(() => { scrollToBottom() - if (inputRef.value) + if (inputRef.value && !isMobile.value) inputRef.value?.focus() })