perf: 自动焦点时移动端上的不便
This commit is contained in:
@@ -454,7 +454,7 @@ const footerClass = computed(() => {
|
||||
|
||||
onMounted(() => {
|
||||
scrollToBottom()
|
||||
if (inputRef.value)
|
||||
if (inputRef.value && !isMobile.value)
|
||||
inputRef.value?.focus()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user