no message

This commit is contained in:
kuaifan 2025-04-08 15:04:00 +08:00
parent 7095c9e71e
commit a5325b84ae

View File

@ -872,12 +872,8 @@ export default {
'cacheUserBasic', 'cacheUserBasic',
'fileLinks', 'fileLinks',
'cacheEmojis', 'cacheEmojis',
'readLoadNum', 'readLoadNum',
'readTimeout', 'readTimeout',
'keyboardType',
'keyboardHeight',
'safeAreaBottom',
'formOptions', 'formOptions',
'cacheTranslationLanguage' 'cacheTranslationLanguage'
]), ]),
@ -1061,18 +1057,6 @@ export default {
return []; return [];
}, },
footerPaddingBottom({keyboardType, keyboardHeight, safeAreaBottom, windowScrollY, location, focusLazy}) {
if (windowScrollY < 2
&& location
&& focusLazy
&& keyboardType === "show"
&& keyboardHeight > 0
&& keyboardHeight < 120) {
return keyboardHeight + safeAreaBottom + (location === 'modal' ? 15 : 0);
}
return 0;
},
msgUnreadOnly() { msgUnreadOnly() {
let num = 0; let num = 0;
this.cacheDialogs.some(dialog => { this.cacheDialogs.some(dialog => {
@ -1415,13 +1399,6 @@ export default {
} }
}, },
footerPaddingBottom(val) {
this.$refs.footer.style.paddingBottom = `${val}px`;
requestAnimationFrame(_ => {
this.$refs.input?.updateTools()
})
},
readLoadNum() { readLoadNum() {
this.positionShow = true this.positionShow = true
}, },