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