mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 12:42:51 +00:00
perf: 优化会话搜索
This commit is contained in:
parent
c8375b846a
commit
3c400af559
@ -815,6 +815,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onClickEditor() {
|
onClickEditor() {
|
||||||
|
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
||||||
this.updateEmojiQuick(this.value)
|
this.updateEmojiQuick(this.value)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -453,8 +453,10 @@ export default {
|
|||||||
|
|
||||||
messengerSearchKey: {
|
messengerSearchKey: {
|
||||||
handler(obj) {
|
handler(obj) {
|
||||||
this.dialogSearchKey = obj.dialog
|
this.$nextTick(_ => {
|
||||||
this.contactsKey = obj.contacts
|
this.dialogSearchKey = obj.dialog
|
||||||
|
this.contactsKey = obj.contacts
|
||||||
|
})
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user