mirror of
https://github.com/jackhh66/ChatGPT_Web_accessToken.git
synced 2026-12-03 21:29:32 +00:00
perf: 自动焦点时移动端上的不便
This commit is contained in:
1 parent
57a1d6e3cd
commit
634c879108
1 file changed
+1
-1
@@ -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