mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
no message
This commit is contained in:
parent
7095c9e71e
commit
a5325b84ae
@ -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
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user