perf: 自动焦点时移动端上的不便
This commit is contained in:
parent
57a1d6e3cd
commit
634c879108
|
@ -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()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue