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',
'fileLinks',
'cacheEmojis',
'readLoadNum',
'readTimeout',
'keyboardType',
'keyboardHeight',
'safeAreaBottom',
'formOptions',
'cacheTranslationLanguage'
]),
@ -1061,18 +1057,6 @@ export default {
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() {
let num = 0;
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() {
this.positionShow = true
},