no message

This commit is contained in:
kuaifan 2024-10-30 15:45:37 +08:00
parent b03fb9f1de
commit 5e6a62376a

View File

@ -405,6 +405,7 @@ export default {
], ],
viewportHeight: 0, viewportHeight: 0,
iOSDevices: $A.isIos(),
}; };
}, },
created() { created() {
@ -569,9 +570,9 @@ export default {
return null; return null;
}, },
chatInputBoxStyle({fullInput, viewportHeight}) { chatInputBoxStyle({iOSDevices, fullInput, viewportHeight}) {
const style = {} const style = {}
if (fullInput && viewportHeight > 0) { if (iOSDevices && fullInput && viewportHeight > 0) {
style.height = Math.max(100, viewportHeight - 70) + 'px' style.height = Math.max(100, viewportHeight - 70) + 'px'
} }
return style return style