perf: 自动焦点时移动端上的不便

This commit is contained in:
ChenZhaoYu 2023-03-23 20:51:20 +08:00
parent 57a1d6e3cd
commit 634c879108
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ const footerClass = computed(() => {
onMounted(() => { onMounted(() => {
scrollToBottom() scrollToBottom()
if (inputRef.value) if (inputRef.value && !isMobile.value)
inputRef.value?.focus() inputRef.value?.focus()
}) })