From 5e6a62376a067508d620e8c924847a494bd9c956 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 30 Oct 2024 15:45:37 +0800 Subject: [PATCH] no message --- .../assets/js/pages/manage/components/ChatInput/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 5246d9ca2..8561ec2b4 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -405,6 +405,7 @@ export default { ], viewportHeight: 0, + iOSDevices: $A.isIos(), }; }, created() { @@ -569,9 +570,9 @@ export default { return null; }, - chatInputBoxStyle({fullInput, viewportHeight}) { + chatInputBoxStyle({iOSDevices, fullInput, viewportHeight}) { const style = {} - if (fullInput && viewportHeight > 0) { + if (iOSDevices && fullInput && viewportHeight > 0) { style.height = Math.max(100, viewportHeight - 70) + 'px' } return style