From 8d1c2fbee1f234fbbc4fd418dcbc04e18e9ca788 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sat, 12 Oct 2024 00:02:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dh5=E9=94=AE=E7=9B=98=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-uniapp/pages/chat/chat-box.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/im-uniapp/pages/chat/chat-box.vue b/im-uniapp/pages/chat/chat-box.vue index 5c9f53e..81d4ca4 100644 --- a/im-uniapp/pages/chat/chat-box.vue +++ b/im-uniapp/pages/chat/chat-box.vue @@ -653,7 +653,7 @@ window.addEventListener('resize', () => { let keyboardHeight = initHeight - window.innerHeight; if (keyboardHeight > 0) { - this.keyboardHeight = this.rpxTopx(keyboardHeight); + this.keyboardHeight = keyboardHeight - 20; this.showKeyBoard = true; this.switchChatTabBox('none', false) this.scrollToBottom();