mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-25 20:08:12 +00:00
no message
This commit is contained in:
parent
6f7edd0b40
commit
dd59a1aebb
@ -1397,7 +1397,9 @@ export default {
|
|||||||
|
|
||||||
windowHeight() {
|
windowHeight() {
|
||||||
this.androidKeyboardVisible = $A.isAndroid() && $A.eeuiAppKeyboardStatus()
|
this.androidKeyboardVisible = $A.isAndroid() && $A.eeuiAppKeyboardStatus()
|
||||||
requestAnimationFrame(this.$refs.input.updateTools)
|
requestAnimationFrame(_ => {
|
||||||
|
this.$refs.input?.updateTools()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
dialogDrag(val) {
|
dialogDrag(val) {
|
||||||
@ -1416,7 +1418,7 @@ export default {
|
|||||||
footerPaddingBottom(val) {
|
footerPaddingBottom(val) {
|
||||||
this.$refs.footer.style.paddingBottom = `${val}px`;
|
this.$refs.footer.style.paddingBottom = `${val}px`;
|
||||||
requestAnimationFrame(_ => {
|
requestAnimationFrame(_ => {
|
||||||
this.$refs.input.updateTools()
|
this.$refs.input?.updateTools()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2227,7 +2229,7 @@ export default {
|
|||||||
|
|
||||||
inputFocus() {
|
inputFocus() {
|
||||||
this.$nextTick(_ => {
|
this.$nextTick(_ => {
|
||||||
this.$refs.input && this.$refs.input.focus()
|
this.$refs.input?.focus()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -3039,7 +3041,7 @@ export default {
|
|||||||
onMention(data) {
|
onMention(data) {
|
||||||
const user = this.cacheUserBasic.find(({userid}) => userid == data.userid);
|
const user = this.cacheUserBasic.find(({userid}) => userid == data.userid);
|
||||||
if (user) {
|
if (user) {
|
||||||
this.$refs.input.addMention({
|
this.$refs.input?.addMention({
|
||||||
denotationChar: "@",
|
denotationChar: "@",
|
||||||
id: user.userid,
|
id: user.userid,
|
||||||
value: user.nickname,
|
value: user.nickname,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user